That doesn't surprise me, electrical issues will do that. That's why many peoples response it to smack something when it stops working! Like the Fonz!
Just curious, does the fan operate at high speed only? Or when it stopped, did it not work at all?