Wiktionary
have one's wits about one
alt. (context idiomatic English) To remain calm, composed, focused, or aware. vb. (context idiomatic English) To remain calm, composed, focused, or aware.