What help you disconnect from a toxic parter?

What’s the most effective way to disconnect from a toxic partner that’s already moved on or showed that they no longer value or want you but just sticking around and maybe waiting on you to officially leave. I know the most common just leave or focus on yourself but to ppl that actually was able to what did you do?

Nothing in particular but toxic could be mentally, psychically, emotional abuse or just not the person for you so you guys clash and it causes problems.