Enable “Out of bounds warning” in Edit->Device Settings.
That may warn you before you get into this situation.
You should never get this alarm if you follow these conditions:
- You home the machine before each session
- You use jogging controls exclusively. Do not move the laser head by hand after homing.
- You don’t ignore any warnings
Additionally, using Absolute Coords as your Start From mode makes this much simpler.