Retiring teacher says being in the classroom was a "gift"