what's the deal with Youtube automatically playing the next related video

Under the heading “next up”. It is rate annoying. Can I turn it off?

It’s only if you clicked on a video that is part of a Playlist. There’s a bar at the bottom that has a button shaped like circular arrows that turns it off.