The loss of sailors, due to shipwrecks, and the War of 1812 caused the town's profitable trade with the South Seas to falter; by 1828, the only fleet still running that route was that of Captain Obed Marsh, the head of one of the town's leading families.