Teacher leaving prompts warning and classroom becomes inactive. Sync and unsync for students works as intended.