 But by the middle of the 19th century, under the headship of Totton, the schools' reputation suffered, and ultimately lost so many pupils that it was forced to close in 1861.It re-opened in 1866 and a new headmaster, Lewis Lloyd appointed in 1872, when a new secular governing body was introduced in place of the Dean and Chapter.In 1881, an epidemic of typhoid in Bangor caused the school to move to Penmaenmawr to avoid the disease.