Demonstrator had occupied a campus building, demanding the university cut ties with Israel institutions over the war in Gaze.