To shake one’s elbow; to game with dice. To shake a cloth in the wind; to be hanged in chains.
Definition taken from The 1811 Dictionary of the Vulgar Tongue, originally by Francis Grose.
Shag-bag * Shake-1Nathan Bailey's 1736 Dictionary of canting and thieving slang
John S. Farmer's collection of canting songs and slang rhymes