General question: If the motor has resistance
If the motor has resistance but moves freely when the motor cable is unplugged, kindly check the motor phase wires; most probably, it is loose or has gone faulty, which requires you to replace the controller alone or both the controller and motor cable.