Dragon Ball Z wraps up with Goku's encounter against Uub.
Recognizing that Uub has real fighting potential, Goku decides to take him on as a student and train him, teaching him to fly and hone his abilities. In the end, Goku leaves his family behind, promising he'll see them again in a few years as he sets off with Uub. It's a fitting conclusion, especially since Uub is revealed to be the reincarnation of Kid Buu, tying the story full circle.