While I personally think the evidence from literary sources has been overstated in scholarship, it's pretty clear that people in the Middle Ages viewed the ocean as dark, forbidding, and dangerous, even apocalyptic. A whale washed up on a Dutch beach in 1522, and Martin Luther believed it was a sign of the apocalypse.