have one's wits about one

Verb

 * 1)  To remain calm, composed, focused, or aware.