Workspace changes back to 1

Hello all
Iā€™m new to CNC.
I have homing sensors installed ok MK 2. 48x30
I try to run a job. Basic surfacing and machine stops half way through job and resorts back to workspace 1 from workspace 2.
I cannot get job to finish
Any help greatly appreciated

Tim

@Tim1

Check out this solution.