lose the plot
US /luːz ðə plɑt/
UK /luːz ðə plɑt/

1.
to become unable to understand what is happening or to control your emotions
:
•
After working for 18 hours straight, I started to lose the plot.
•
The director seems to have lost the plot with this new movie.