the rescue chamber is secured at its coaming by a rack-and-pinion release to the coaming of the submarine , such that a waterproof space -lrb- the fore chamber -rrb- is created between it and the ship 's hull .