bolt from the blue

[bolt from the blue] {n. phr.} Something sudden and unexpected; an event that you did not see coming; a great and usually unpleasant surprise; shock.

We had been sure she was in Chicago, so her sudden appearance was a bolt from the blue.

His decision to resign was a bolt from the blue.

Compare: OUT OF THE BLUE.