Afloat and Ashore is a nautical fiction novel by James Fenimore Cooper first published in 1844. Set in 1796-1804, the novel follows the maritime adventures of Miles Wallingford Jr. , the son of wealthy New York landowners who chooses to go to sea after the death of his parents.