Green’s Dictionary of Slang

tuck up fair n.

[tuck v.1 + SE fair; note tuck ’em fair n.]

the gallows.

‘The Mill’ British Minstrel 111: The beaks have sent their traps arter ’em, and if they’re cotched, they’ll show ’em the fall of the leaf at Tuck-up Fair.
[UK]G. Kent Modern Flash Dict. 34: Tuck up fair – Newgate, at a hanging time.
[UK]G.W.M. Reynolds (trans.) V. Hugo Last Day of Condemned 39: He swore he’d make me dance on air, / To please the folks at Tuck-up fair.
[UK]Flash Dict. in Sinks of London Laid Open [as cit. 1835].
[UK]Hotten Sl. Dict. 262: Tuck-up-Fair the gallows. The notion of tucking up in connexion with hanging is derived from tucking up the bedclothes before going to sleep ? the last preparation.

In phrases

dangle at tuck up fair (v.)

to be hanged.

[UK]‘Billy Bighead’ in Cove in Spedding & Watt (eds) Bawdy Songbooks (2011) IV 227: And ’twas by great good luck they say, / That he didn’t dangle at tuck-up fair.