Following the execution of Charles I, the Scots crowned his son Charles II, and he became the last reigning monarch to stay here, living at the castle in 1650. The Royalist forces were defeated at Dunbar by those of Oliver Cromwell, and the King marched south to defeat at Worcester. General Monck laid siege to the castle on 6 August 1651, erecting gun platforms in the adjacent churchyard. After the garrison mutinied, Colonel William Conyngham was obliged to surrender on 14 August. Damage done during the siege can still be seen on the church and the Great Hall.