Question: when was what shall we do with the drunken sailor written?
Answer: The music was first reproduced in printed form in 1824 in Cole's Selection of Favourite Cotillions published in Baltimore. ClassicCat tells us, “However, the lyrics were first published in 1891 under the title “What to do with a Drunken Sailor?”.