The title of this tune comes from a comic song of the 1860's, although it is similar to many other tunes and thus is likely part of a much older tradition.
This tune was known earlier as New Shields, which may refer to the Tyneside towns of North Shields and South Shields in Northumberland. However, it may also originate from Scotland, where it was popular in the early 18th century.
The title may refer to a seat used in Scottish Presbyterian churches to shame people who had committed moral crimes such as adultery or becoming pregnant when unmarried. Since the tune is very jolly it may also be a reference to a parlor game of the same name, where participants write or say something about a player that then tries to guess who made each statement. Or, it may refer to Jenny Geddis throwing a stool at the minister of St Giles Kirk in Edinburgh in 1637, in protest of the new Scottish Episcopal Book of Common Prayer. This is said to have sparked the riot that led to the Wars of the Three Kingdoms. An early version of this melody appears in manuscripts in 1733 and 1734. It is also known as Wrights Rant and Joiners Jig.