Judge Michael Lawson QC sentenced Forrest to four and a half years for the five offences of sexual activity with a child and one year for the offence of child abduction, to run consecutively.
He told Forrest: "Your behaviour in this period has been motivated by self-interest and has hurt and damaged many people - her family, your family, staff and pupils at the school and respect for teachers everywhere.
"It has damaged you too but that was something you were prepared to risk, you now have to pay that price."
Forrest, wearing a grey suit, white shirt and tie, showed no emotion but nodded to his family as he was taken down to the cells.
More top news
Essex Police say that they can't comment on Martin Goldberg's death, but there were indications of an attempt to destroy evidence.
Police say indecent images of children have been found at the home of a deputy head teacher, who was recently found dead.
Essex Police say pictures of boys undressing have been discovered in the home of a teacher who's been found dead.