It is probably not what you are wanting to hear, but I am thinking you’ll need to flash again and start from the beginning. Someone else may have a better answer, but you would likely need to include details of why it needs to be removed (a use-case).
For switching to other release version, you would need to re-flash through SDKManager. For removing SDK components, you can remove it by executing sudo apt-get remove PACKAGE_NAME