A fellow sub mate was having labor pains?
The sub crew had just rescued some nurses and native women from an island one of who was about to have a baby. See the Cary Grant movie.
https://en.wikipedia.org/wiki/Operation_Petticoat