Is there an idiom/phrase/word that means snubbing /ending contact with someone after you've used them as much as you can to your benefit?

Perhaps you're looking for jettison

Abandon or discard (someone or something that is no longer wanted)

Her group had left her, jettisoning her into oblivion for fear of attracting unwanted attention to themselves.

[Lexico]