Yosef Karo, Translation:Shulchan Aruch — Orach Chaim 606…
“ If he is one's rabbi, one must go to him several times until the rabbi is appeased. Rem"a: One should not be cruel and withhold forgiveness (Mahari"l) unless it is for the benefit of the one seeking forgiveness (Gemara Yoma) . If one was a victim of slander, one need not forgive (Mordechai and Smag and Hagahot Maimoni in chapter 2 of the Laws of Teshuvah and Mahari"v) . ”
