A school community is in shock after a veteran teacher died in a school bathroom of an apparent overdose.