Submarines had just been invented some 30 years before the publicaiton of the Book of Mormon. See, for example the page on Robert Fulton.

Robert Fulton’s Nautilus, 1800