collect/gather your wits
collect your witsor
gather your witsLITERARY
If you collect your wits or gather your wits, you make an effort to control yourself and become calm again, after a frightening or shocking experience. I took a deep breath and tried to gather my wits. The news was so shocking that I was scarcely able to take it in. Sinking into a leather armchair, I attempted to collect my wits and decide what on earth I was going to tell Lucy.
gather (or collect) your witsbring yourself back to a state of equanimity.
1984 Geraldine McCaughrean The Canterbury Tales Poor old man, he was too astonished to speak. And before he could collect his wits, he was sitting at table…with his lord on one side and his daughter on the other.