Off The Rails

In an abnormal or malfunctioning condition; derailed from a proper course.

Examples:

  • Her political campaign has been off the rails for months.

Origin: Mid-1800s; from a train going off its rails