Green’s Dictionary of Slang

boat, the n.

the penal hulks, moored on the Thames.

[UK]H. Mayhew Great World of London II 82: The cant or thieves’ names for several London prisons or ‘sturbons’ [...] is as follows:— [...] The Hulks, or any Public Works ... The Boat.
[UK]Lancaster Gaz. 22 Feb. 4/3: If i didn’t know Sam was ‘at the boat’ (penal servitude) I’d say so too.