The z axis on my anycubic i3 mega is not moving it just makes a grinding noise which only stops when I switch the machine off

I had the exact same issue all you have to do is manually level it again