fly off the handle
Lose one's temper, as in Tom flies off the handle at the slightest setback. This metaphoric expression alludes to the loosened head of a hammer flying off after a blow. [Early 1800s]