Sailors being punished were sometimes tied over a cannon barrel when being whipped. Today the expression is used when someone is in a bad situation and that there is often no other possible course of action. A nautical term that has now become part of everyday language
