Sounds like an insulation fault in the windings shorting them out creating power loss.
It will need a rewire to get it factory fresh bit of a pain, these motor are dozen to the pound so swap it out.
If its the 1000w version with the motor geared direct to the wheel it could be a bit harder to find a cheap replacement, I'd google to see if the armatures can be swapped between the non geared and geared model to make it cheaper, I'm not familier with the xyd motors so can not help with this.