Pupils and staff were sent home early.