the voltage surge must have confused the micro and it was just not left off long enough to recover. Power supply and other components can retain low level energy for some time after switch off keeping the micro in it's invalid state. Switching off long enough, sometimes with the mains lead disconnected, can guarantee a fresh boot up.