Scottish privateer and Royal Navy officer whose four years and four months as a castaway (1704–1709) after being marooned by his captain on an uninhabited island in the South Pacific Ocean became the inspiration for the story Robinson Crusoe.