In 1824, at the age of 18, Coe joined the Chilean fleet, then commanded by Lord Cochrane, and served on board the brig "Protector" during the Peruvian War of Independence.