He sailed on the *Sophie Sutherland* from San Francisco to Japan in 1893. He wrote about this experience in his book "The Log of the Snark" published in 1911. It was not a novel but a journal of his experiences on the voyage.
The *Sophie Sutherland* was a schooner, not a ship.