If you need to stop a Macro while running (for example, during an infinite loop) you may press [Escape] and the macro will stop.