To sign out of your YouTube on your TV, select your profile picture at the top of the screen, scroll down, and select sign out. Remember, doing this will sign you out of your Google Account on this device.