He died on board ship off the coast of Mexico on his way to San Francisco in 1852.