To go blank / To draw a blank
Describes the sudden inability to remember or think of something, often in a stressful situation like an exam or presentation.
In the exam I went blank and couldn't remember anything.
—What were you going to say? —I've drawn a blank.
They asked his name and he went blank from nerves.