The university collected the hats after the graduates ceremony finished, to avoid them throwing their caps into the air, they do this because of health and safety issues.
Article source: http://news.hse.gov.uk/2014/08/22/case-309-university-bans-the-throwing-of-mortar-boards-on-graduation-day/