Cocks, Edward Charles, 1786-1812