Glad I have a sparky in the family, turns out the problem was dry joints on the circuit board of the relay next to the motor, invisible to the naked eye. Will post up some pics and tips for roof liner removal shortly.
Blek, got the same issue with my passenger seat electric switches cutting out, job for another day.