Hi @NP ,
Thank you for posting this in Microsoft Q&A.
Suppose your organization users accidentally clicked ‘Allow my organization to manage my device' option means your device must be registered in Microsoft entra id. They are two ways to fix this popup. 1.Disconnect account from work or school account. Even after you disconnect, you may remain sign in to Microsoft Teams and outlook etc. As you mentioned, I believe you tried this option.
2.If you’ve admin access in Microsoft Entra ID you can use below steps to remove your device.
a. Go to Microsoft Entra ID and sign in to your admin account.
b. Select Users under identity -> Select username -> click Devices.
c. Then select the devices and check the join type as 'Azure AD registered' is present in the list. If exists select device and click Delete at top. Under Confirm Delete, select Yes.
In this way, the device must be removed from Microsoft Entra ID, and you should be able to manage it hybrid, like before.
To fix this popup in the future, I suggest going to this third-party document that will provide assistance. https://msendpointmgr.com/2021/03/11/are-you-tired-of-allow-my-organization-to-manage-my-device/#:~:text=When%20it%20comes%20to%20this%20notification%2C%20we%20don%E2%80%99t,Close%20the%20window%20by%20click%20on%20X.%20
Hope this helps. Do let us know if you any further queries.
Thanks,
Navya