I'm not sure about subs, but surface ships use wood and rubber to plug leaks internally.
There are metal jacks that can be used too, but they are limited in flexibility and have more specific uses.
Look up USS Buttercup to see more about trainees learning flooding damage control.
Louis L'Amour, “To make democracy work, we must be a nation of participants, not simply observers.
One who does not vote has no right to complain.”
Visit our archived Minecraft world! | Maybe someday I'll proof read, until then deal with it.