 When he was in prison, he wrote "An Historical, Geographical and Philosophical View of the Chinese Empire" (1795), which provides general information about China, and "An Historical, Geographical, Commercial, and Philosophical View of the American United States" (4 vols, London, 1799).On 26 November 1797 he married Mary Brend and they had seven children (4 sons and 3 daughters); he died on 31 March 1829 in Stroud, Gloucestershire.His granddaughter was Ann S. Stephens.