On 21 October, the British fleet left Copenhagen for the United Kingdom. However, the war continued until 1814, when the Treaty of Kiel was signed.