Melville's 1843 trip home from the South Seas as an ordinary seaman on a man-of-war provided the basis for this novel. The macho world aboard the Neversink is presented as a microcosm of the world on shore and exposes some of the brutal customs of the American navy at the time.