The idea of being indebted to a company is not quite the right way to go about making decisions. Companies take in an individual not because they want to do a favor but because they trust the person’s ability to bring profits and help the company grow. That this is true is testified by the fact that do not want to release you because it may mean scaling down their profits by their calculation. They value you because you enhance their value.
Now based on this fact you can make one of the two choices. Either you could ask them for upgrading your work and its value if that is the reason for your switch. Or else you should change if you find better opportunities for further growth. Work spaces are not meant for emotional engagement but for professional growth. Work should be done with love but that does not mean letting your emotions and worse still other’s emotions interfere with your decision to transit if such is your need. One should always choose in a state of inner freedom and not let your choices be manipulated by emotions.
There is a place proper to feelings as with close friends and intimate relationships but a company and the employee is not the place for it.
Affectionately,
Alok Da