Personally, I thought the second Bob Newhart show ended perfectly.TV shows basically have two fates - overstaying their welcomes or being cut down too early. Not saying there isn't one, but I can't think of a single show that ended just right.
In case you don't know what I am referring to:
Bob wakes up from a dream and turns to his wife, who was the actress from his first show!