If you no longer have access to your Xbox One, you can deactivate it in Windows Partner Center.
For details, see the Deactivate your console using Partner Center section in the Xbox One Developer Mode Deactivation topic.