St James's Palace
Barnard lived for most of his working life in a Grace and favour apartment in St James's Palace and died there 27 January 1830, aged 87.