Complex sentence: When a storm began, all cannons had to be securely fastened and tied in place; otherwise, they would roll uncontrollably around the deck, causing havoc.
Split into simpler sentences: When a storm began, all cannons had to be securely fastened and lashed in place. A gun that broke free of its lashings would roll uncontrollably around the deck with the motion of the ship, causing havoc.