 At the end of this period Windsor Castle became a place of royal confinement . In 1788 the king first became ill during a dinner at Windsor Castle ; diagnosed as suffering from madness , he was removed for a period to the White House at Kew , where he temporarily recovered . After relapses in 1801 and 1804 , his condition became enduring from 1810 onwards and he was confined in the State Apartments of Windsor Castle , with building work on the castle ceasing the following year . 
