get wits about one
get (one's) wits about (one)
To stay calm and rational, especially in times of stress. Luckily, the teacher got her wits about her and was able to evacuate all of her students from the burning building.
Farlex Dictionary of Idioms. © 2015 Farlex, Inc, all rights reserved.
get one's wits about oneand have one's wits about one
Fig. to keep one's thinking in order or make one's mind work smoothly, especially in a time of stress. (See also keep one's wits about one.) Let me get my wits about me so I can figure this out. I don't have my wits about me at this time of the morning.
McGraw-Hill Dictionary of American Idioms and Phrasal Verbs. © 2002 by The McGraw-Hill Companies, Inc.