That link IanC gave wasn't. And in no way was this ever a shanty. Just because a song is a sailor's song or a song about sailors doesn't mean it's a shanty. You'd have a bit of a problem using this as a work song. I suppose you might be able to row while someone sang it.
Moodie and Sankey are full of hymns about life-boats and storms and that, though there aren't many as good as this. (And so far as I know this one isn't in any of those collections.) Mission hymns, for Seaman's Missions, and others.