All things being normal, restarting your Windows 11/10 device should be sufficient to exit you from Safe Mode back into normal mode. However, if for some reason your system is still booting into Safe Mode on its own after restarting, you can try the following:
Press Windows key + R to invoke the Run dialog box.
Type in mscconfig and hit Enter to open the System Configuration tool.
In msconfig window, click the Boot tab.
Uncheck the Safe boot box.
Click Apply > OK.