According to various Star Trek histories, Shatner actually owned a piece of the show, so he didn’t have to worry about residuals. I do recall some sort or reunion with the cast of Gilligan’s Island where they made it clear their residuals had ended years earlier.