Social media
That feature is called Autoplay, and it turns off in one place:
In the YouTube app (phone or tablet)The Autoplay switch sits right under the video — a small toggle near the settings gear. Click it so it is off.
On a TVOpen YouTube, go to Settings in the left-hand menu, choose Autoplay, and set it to Off.