@greatlakes3dp you've made the mistake of treating the Z probe as an endstop. Remove the M574 Z line in your config.g file, then read https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_cartesian#homing-z (in particular the bit about homing Z using a Z probe) to see if you need to change your homez.g and homeall.g files.