We apologize for the inconvenience. Our development team is already aware of this issue and there is already an improvement request to avoid such incident. For now, using the “delete device” from the Endpoint Manager portal while choosing either one of the two option will still continue to uninstall the device locally. We have sent an email and added you to the loop. You will be updated once the improvement request is already rolled out.
If you want to uninstall the CCS, we have a removal tool that can be downloaded from below link: