He died on active service during the campaign of 1794, when he had gone to serve voluntarily as a military doctor in hospitals.