I worked a few month at a gas station. our order was, let them rob you, memorize as much about them as you can, and call the police after they've left the shop.
The insurance will cover any damages, and the police can still catch them later.
Yes, it may feel "right" to attack the thief, but...