Kiss the Gunner's Daughter
(To) To be flogged on board ship, being tied to the breech of a cannon.
“I was made to kiss' the wench that never speaks but when she scolds,
and that's the gunner's daughter ... Yes, the minister's son ... has
the cat's scratch on his back.” —
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Kiss the Gunner's Daughter from Infoplease: