Octoprint Reboot CR-10 V2

Hi All,

When I hard reboot my OctoPrint Pi my print head moves on the Z axis and slams the stop and keep trying for about 15 sec. This does not happen when I reboot via the GUI.

Any suggestion on what may cause this to happen?

Thanks

The USB ports are reset when you reboot. Does the same thing happen if you remove and insert the USB cable from the printer to the RPi?