pitch a curve

To catch someone unawares; confront someone with an unexpected event or act.
My professor pitched me a curve ball when he unexpectedly confronted me with a complicated mathematical equation that was way over my head.
Categories: {v. phr.}