A sluice gate in the south-west corner managed the water in the moats, and allowed them to be drained completely should the surfaces begin to freeze over in winter and provide an advantage to any attackers.