If your e-bike motor stopped working after a tire change or rear-wheel removal, check wheel seating, brake drag, motor connections, wiring and sensors before assuming the motor or controller failed.
If your e-bike motor hums but the wheel will not move, do not keep holding the throttle or forcing pedal assist. The problem can be as simple as brake drag or a poorly seated wheel, but it can also ...