The teacher composed a heartfelt letter in a cave.