Makerbase MKS Sbase

I am not as well versed in the gcode but this sounds like it might be the same thing happening to you
https://forum.v1e.com/t/z-axis-relaxes-after-a-job-and-it-plunges-into-the-work/20792/7?u=redneckmudrat