Separate the attacker from their objective that satisfies their motivation.
Remove the money and there is less motivation for robbers. That is why convenience stores began using time-locked safes, to remove the money from the cash register. It made a huge difference.