Interpret the meaning of the bold idiom in the following sentence. the bold is lose their head
"But I know human nature, my friend, and I tell you that, suddenly confronted with the possibility of being tried for murder, the most innocent person will (lose their head) and do the most absurd things."
to forget things
to start to lose their train of thought
to hurt themselves
to do something rash
to think things through carefully