If it has a thermal protection, and as hot as you say it is (like OUCH!!!):
For the pump at the hotel when this would happen, kids always plugging either the returns or the intakes with stuff:
Remove power to the pump either at the pump if there's a switch or at the breaker (we had to do this at the breaker)... some thermal protection circuits require the removal of power to rest. I don't know if yours will; however, usually it's a simple thing to do.
You will need to wait at least 1/2 hour... the body of the motor should be fairly cool to the touch - you should be able to keep your hand on the motor for a fairly long time.
If it is on a GFCI or simular circuit, double check that the protection is reset (Motel's was built in to the breaker, resets with the breaker reset, I don't know if that's universal with all breaker based protection)
I've seen in other applications that the motor may have a breaker that requires a reset... I don't know about pool pumps; however, worth a look.
I noticed that you don't have the manufucture make/model listed - that information will help those that know more than I to help answer your questions.
Once you've waited at least 1/2 hour, then return things to normal. Hopfully you're back in business!
You said that there was storm... brown-outs are very hard on motors, and computers, and will cause some motors to over-heat quickly as they're not moving enough to keep the cooling working.
-wc
[EDIT]
epxroot said:
Well, after it has cooled off a bit the motor just hums when I flip the switch, before it didn't do anything. What do you mean "check the capacitor"?
Sounds like something blocking the impeler.
capacitor... note: this is not my video... just one I Googled:
pool pump capacitor check