Measures include ending term early, moving teaching online and cancelling exams.