In order to unenroll from Windows Device Management (Intune + Entra), the following steps will need to be performed.

Ensure the computer has a local login account

Disconnect from Entra

Enroll Windows in Device Management