Sentence:  Finally, I <WSD>lost the plot</WSD>. I got into my car and drove to the police station. 
Meaning of the word marked with <WSD> tags:  To cease to behave in a consistent and/or rational manner.