Yes, she does stop caring about her parents, but only because she is looking for parental figures in other people who she knows to be extremely good. Han, Luke, Leia, etc. If she can demonstrate they are proud of her, then she essentially proves her biological parents wrong.
Anyways, clearly selling your child into slavery is not the best way to protect them. So maybe if you asked Rey’s parents, they would claim that they did what they did to protect her. But in all actuality, they just didn’t want to have to deal with the danger she brings to their lives any more, and wanted to make a few bucks in the process.
EDIT: Ah yes, the house of cards again that is TROS. Just remembered that they lay down their lives to protect her location. So I’m thinking that if I were to do something like above, I would have to modify their encounter with Ochi.