A gummed up slide mechanism will cause the motor to overheat in an attempt to push the slide out or pull it in . It trips the internal protector of the motor. After a quick cool down it may work again.
This MAY NOT be your situation as you posted the motor is out however this may be something to check before you replace the motor. This has happened to me and my bedroom slide. Cleaning and
lubricating the slides with a silicone TYPE lubricant did the trick.