 He lectured through the winter, against his strength, attracting both students and literary men to his room.His health completely gave way in the spring, and he died of consumption in Edinburgh, 15 April 1813.He is buried in Greyfriars Kirkyard in Edinburgh, immediately north of the church.