M'al Sharran

M'al Sharran, which is Goa'uld for last right is a ritual performed by the free Jaffa who had been brainwashed by the Goa'uld to serve them again. The process is that the Jaffa who had been brainwashed has his or her symbiote taken away and has to be put to near death, due to no immune system where he or she decides whether to revert from their brainwashing and get their symbote back and live, or they don't and they die.

History
In 2001, Teal'c was brainwashed by Apophis and was taken back to Earth where he went through the ritual. He passed the ordeal and has sworn allegiance to SG-1 again. The next known Jaffa to go through M'al Sharran was Maz'rai five years later, who was brainwashed by Ba'al. However, he felt ashamed about his brainwashing and died.