jump the rails
definition
to suddenly behave wildly or lose control
example
The conversation was fine until he suddenly jumped the rails and started ranting about conspiracy theories.
word origin — From the 1800s railway age — when trains jumped off their tracks, the result was a sudden uncontrolled disaster.