If you want to stop managing a device using Zoho Directory, you need to delete it. You will have to re-enroll it if you want it authenticated through Zoho Directory.
To delete a device:
Sign in to Zoho Directory, then click Admin Panel on the left menu.
Go to Device Management.
Hover over the required device and click Kebab menu on the right.