If job is canceled, does not return to zero safety height

Would love to figure out a solution for this. Broke 2 mills before i caught that it doesn’t go to safety height on a test run.