You can sign out of your YouTube on your TV both with the device and remotely. Follow the steps given below for both ways:
If you have the device
In order to sign out:
To remove your account:
To switch accounts:
If you notice the “Who’s Watching” screen, you can either:
If you no longer have access to the device or want to log out remotely