The Autoplay feature on YouTube enables a “lean back” experience and keeps videos playing without you having to select a new video when the video you’re watching finishes.
You can choose to turn off the Autoplay feature at any time using the toggle option available on the watch page.