To collect one's self

to recover from surprise, embarrassment, or fear; to regain self-control.

See also: Collect