Hello, thank you for reaching out to Microsoft Q&A.
I understand that you are having trouble switching out of S mode on your Windows 11 device.
Do you have any work or school accounts linked to your device?
Go to: Start > Settings > Accounts > Access work or school.
If you only have a personal account linked and it still fails:
- Reset the Microsoft Store cache and try switching out of S mode again.
- Press Windows + R, type wsreset.exe, and click OK.
- A Command Prompt window will appear, and then the Microsoft Store will open automatically.
- Try switching out of S mode again from the Store.
Alternatively, try switching your Wi-Fi network to another network, such as a mobile hotspot, and see if it works.
Then, check for the latest Windows 11 updates and install them.
(Go to Start > Settings > Update & Security > Check for updates)
Once done, see if you can switch out of S mode.