I understand what you're saying but I don't think it's a loose wire.
The reason being I'd been using my printer all day running calibration prints, then towards the end of the day it suddenly started happening with the motors repeatedly, even after a power cycle.
I noticed just leaving it over night then trying to do a homing cycle (delta printer) worked fine again.
The motors are fairly small nema 17's set to a current of 1A
I did notice the MCU temperature was up to around 40 something degrees on the web UI when it was failing at the time (maybe 42 or 45)
(for info I had calibrated the MCU temperature long before hand, since I remember the docs mentioning that's needed to get an accurate reading)
I think it's my own fault for having the control board too close to the heated bed to be honest.