if it died when moving the head up and down it could be a wire going from the controller to the motor got broken.
my mini mill and mini lathe (both brushless versions) spin on there own sometimes because the potentiometers are so cheap they wear out. if i fiddle with the pot they stop turning...