A punishment that penalizes without forestalling is indeed called revenge.
CivilSimian.com created by AxiomaticPanic, CivilSimian, Kalokagathia