This happened when the Treaty of Amiens ended in 1803.
War began between the United Kingdom and France in 1803. They started after the French Revolution ended and Napoleon Bonaparte became powerful in France in November 1799.
The Napoleonic Wars were wars which were fought during the rule of Napoleon Bonaparte over France.