to be shocked and confused by something surprising
When Nancy said she wanted a divorce, I didn't know what hit me. Usage notes: usually said about something bad, and often used in the form before someone knows what hit them: We'll have the handcuffs on them before they know what hit them.