Here’s how to turn off Restricted Mode in the YouTube app:
Open the YouTube app and tap your profile icon.
Go to Settings > General.
Toggle Restricted Mode off.
If the setting is grayed out, it might be enforced by a network admin, supervisor (like Family Link), or DNS. In that case, contact your admin or change your network settings.