A loose cannon is someone whose behaviors are erratic and unpredictable, often in a dangerous manner. The phrase originated when wooden warships carried cannons on their decks. When the cannon holders broke, the cannon would roll around, without any control, causing damage everywhere.