I wouldn't pour your energy into a colander trying to figure out what you can do.
Don't go out of your way for them, don't intentionally ignore them - just completely detach yourself from this person.
You can't control other's actions but you can control your reaction. Just stay true and do what makes you sleep better at night.