Help me How To Deactivate Shortcuts that Carry A Property?

Hi! Thanks for replying. I already found the answer that I’m looking for in this post: How to modify a key and register another key at the same time in an addon? - #2 by iceythe

For your question, No, my goal is having a script that simply toggle between what is existing and my own shortcut. I think if I delete the shortcut, I will have to add code to add the deleted shortcut back, wouldn’t I?. Is there a way to store deleted shortcut, like in the link above?