However, if the top makes a tight seal with the walls of the cylinder, it
is a different story. Now the top is sitting on an incompressible fluid,
rather than floating in it. Assuming there is zero friction with the
cylinder walls (an assumption all physics students like to make), and a
scantily clad California beach girl is not sitting on the top, then the
pressure in the fluid is the weight of the top divided by the area of the
top, PLUS the density of the fluid divided by the depth of the fluid.