Make sure your batteries are good. My 02 Bounder had a slide issue where it would move an inch and then the motor would click almost as if it tripped a relay. Everything else worked fine no signs of low voltage. I pulled the slide motor and had it tested, passed.
Replaced my batteries and it worked fine since. You could have them load tested as well. The fact it worked after being plugged in could mean something.
02 Bounder 39Z 5.9 Cummins
Dad, Mom, 5 year old and 1 Year old