(CNN) -- In an instance of truth being stranger than fiction, American author Herman Melville turned to a horrifying ordeal as inspiration for his 19th-century classic "Moby-Dick."