blow one's cool

[blow one's cool] {v. phr.}, {slang}, {informal} To lose your composure or self-control.

Whatever you say to the judge in court, make sure that you don't blow your cool.