bring someone to their senses
definition
to cause someone to start thinking in a rational way
example
She started to sound irrational after weeks of working without a break. A couple of days of rest will bring her to her senses.
word origin — From the noun 'senses' (good judgment), in use since the 1600s to describe restoring rational thought.