expression

To come to one's senses.

Theme: judgment Keyword: wisdom

means

To regain sound judgment after behaving irrationally or imprudently.

Example

He finally came to his senses and abandoned the reckless plan.