Z loses 0 in the middle of the cut - Solved-

During the cut my z went from a 3mm cut to a 10mm when it was done Makerverse thought that 0 was 10mm plunged into the board. Read a thread talking about how the power cable being close to the z cable can make this happen. My power cable was not close to the z. I thought about the Gcode being messed up but would that explain why my calibrated 0 position be 10mm off after the cut?

The problem was that the router slipped in the clamp. If this happens to you check the clamp.