Studying liquid jet impacts on a liquid pool is crucial for various engineering and environmental applications. During jet impact, the free surface of the pool deforms and a cavity is generated. Simultaneously, the free surface of the cavity extends radially outward and forms a rim. Eventually the cavity collapses by means of gas inertia and surface tension. Our numerical investigation using an axisymmetric model in Basilisk C explores cavity collapse dynamics under different impact velocities and gas densities. We validate our model against theory and experiments across a previously unexplored parameter range. Our results show two distinct regimes in the cavity collapse mechanism. By considering forces pulling along the interface, we derive scaling arguments for the time of closure and maximum radius of the cavity, based on the Weber number. For jets with uniform constant velocity from tip to tail and
$We \leqslant 150$
, the cavity closure is capillary-dominated and happens below the surface (deep seal). In contrast, for
$We \geqslant 180$
the cavity closure happens above the surface (surface seal) and is dominated by the gas entrainment and the pressure gradient that it causes. Additionally, we monitor gas velocity and pressure throughout the impact process. This analysis reveals three critical moments of maximum gas velocity: before impact, at the instant of cavity collapse and during droplet ejection following cavity collapse. Our results provide information for understanding pollutant transport during droplet impacts on large bodies of water, and other engineering applications, like additive manufacturing, lithography and needle-free injections.