Z axis "relaxes" after a job, and it plunges into the work

https://docs.v1engineering.com/software/repetier-host/#repetier-host

Also look for M84 or M18 at the bottom of the gcode too. Those will turn off the motors. The firmware will still drop the steppers after 20 mins of inactivity, so don’t leave your machine unattended.