I think both ways will work, the only problem with disconnecting them is that the beer absorbs the co2 and the pressure inside drops, and it’s actually the pressure inside that keeps the lid sealed tight. I have a couple of kegs where the lids aren’t a great seal, and they will leak and bubble...