He died at his home, 1 St Colme Street[4] in Edinburgh's New Town on 8 June 1845 following a short illness. He is buried in Warriston Cemetery in north Edinburgh. The extremely modest grave lies on the southmost path of the main cemetery, towards the south-east.