Green’s Dictionary of Slang

jack in the (low) cellar n.

[trans. of Du. Hans-en-Kelder n.]

an unborn child.

[UK]Smollett Peregrine Pickle (1964) 48: When his companions drank to the Hans en kelder, or, Jack in the low cellar, he could not help displaying an extraordinary complacence of countenance.
[UK]Grose Classical Dict. of the Vulgar Tongue n.p.: Hans in kelder, jack in the cellar, i.e. the child in the womb; a health frequently drank to breeding women, or their husbands.
Aitken in Satires of Andrew Marvell II 16: [Footnote] For Hans-in-Kelder. 66. – Jack-in-the-cellar.