Meaning of the word "come to ones senses" in English

What does "come to ones senses" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

come to ones senses

US /kʌm tu wʌnz ˈsɛnsɪz/
UK /kʌm tu wʌnz ˈsɛnsɪz/

Idiom

to start to think and behave reasonably after a period of confusion or irrationality

Example:
It took him a while to come to his senses and realize he was making a mistake.
After a few days of sulking, she finally came to her senses and apologized.