This is a plot twist on the typical do-over where the MC goes back in time to correct some terrible thing he/she did in the past.
The main problem here is there appears to be no way to undo the terrible deed that doesn't result in the death of the protagonist.
Feelings of guilt overcome self preservation and the attempt is made with the knowledge that this is most likely a suicide mission.