If you decide to leave a community or a project because they are adopting a Code of Conduct that asks you to be respectful and kind, no matter what you did or how good were your contributions, you certainly won't be missed.
Seeing a CoC as a threat gives me the impression your skills aren't as necessary as of those you kept away from the community because of your toxicity and inability to be decent human being. That project could be much better without you.