Wiktionary
collect oneself
vb. To recover from surprise, embarrassment, or fear; to regain self-control.