Can't enable developer mode

This is on an enrolled chromebook and I enabled developer mode with the battery unplugged and it gives me a screen saying “Confirm returning to secure mode” do I need to flash the chip on the board with this https://docs.chrultrabook.com/docs/unbricking/unbrick-ch341a.html to not have this happen (just reply yes if thats what I need to do to get it working)

Im not sure if this will fix your issue but after enabling developer mode, your supposed to use the shortcut ‘ctrl + d’ to return to chromeos. hope this helps!

Yes, your organization has likely disabled Developer Mode for you, which is why ChromeOS returns to secure mode every time you try to enable Developer Mode.