Release a device from Fleetsmith and Apple School Manager or Apple Business Manager in Fleetsmith
If you no longer plan to keep a device in your fleet, it must be released in Apple School Manager or Apple Business Manager and released from Fleetsmith. Otherwise, when the device is erased and set up again, it automatically reenrolls itself with Fleetsmith.
Release a device from Fleetsmith and Apple School Manager or Apple Business Manager
Sign in to Apple School Manager or Apple Business Manager and release the device. See:
In the Fleetsmith Admin Console, archive the device. See Archive a device.
For Mac computers, download the Fleetsmith agent uninstaller and run it on the Mac. See Download the Fleetsmith agent uninstaller.
Erase the Mac and reinstall macOS.