Then you want only the last depth cut again, so you enter start at depth = 10.
The result is that is goes not to safe Z and go instead with rapid feed through the part.
Very hard to see in advance.
Luckily only thw workpiece was destroyed and not the tool.
it could be a post processor problem/bug.
If you don’t read/write or understand pp Lua code, then try adding a ‘move to’ Operation before the final cut. See menu Operation / ‘Move to’