How to completely remove a Xbee?

I joined a Xbee to my network. I want to try to remove it but I’m unable to. It is not showing as a device in the Smartthings app or in the IDE. I tried resetting the Xbee back to the default settings and then when I reconfigured the settings it was just picked up by Smartthings. I can see it’s connected to Smartthings when I do a network scan. Is there anyway to completely remove the Xbee? Thanks