Take the 2003 blackout. Yes, the whole shut down took 15 minutes (?). But thats because it was a cascading effect that had to travel down the lines. Once the fault was detected by a particular segment of the grid, the relays responded in milliseconds. They have since the 1920s? Add in an "incoming solar flare" fault condition and we can trip the whole grid in seconds and send a start signal to the diesel generators to warm up to bring her back up.
Pretty nifty trick.
Question is why would we? The grid has been undergoing a lot of strengthening against EMPs and flares for decades. Its not obvious to me that a flare can take it out, especially if we shed dumb loads (partial blackout, say data centers) before it hits to give the conductors and transformers head space.