In 1801, Goldsmith published The Crimes of Cabinets, or a Review of the Plans and Aggressions for Annihilating the Liberties of France and the Dismemberment of her Territories, an attack on the military policy of Pitt.
Until 1807, however, when his Republican sympathies began to wane, Goldsmith continued to undertake secret service missions on behalf of Napoleon.
He proposed that a price be put on Napoleon's head by public subscription, but found himself condemned by the British government.
In 1810 he published Secret History of the Cabinet of Bonaparte and Recueil des manifestes, proclamations, discours, etc.
In 1815, he published An Appeal to the Governments of Europe on the Necessity of Bringing Napoleon Bonaparte to a Public Trial.
He died 'of paralysis' after an illness lasting several months, in his home on the Rue de la Paix, Paris, on 6 January 1846.