As long as you feel particular emotions you will keep coming to them all over again until you drain it all. Once you lose and forget them you will continue in the other direction.
Once you drain your karma you fulfilled your purpose and you don’t have a reason to come back.
In other words, your emotions and desires produce karma. Try to feel and leave through the whole situation, don’t cut it when is still warm. When emotions are cooled down you may walk away.