Why do some TV shows end so badly?

Why, after however many seasons and developing such loyal fanbases, do some shows end so terribly? People actually (or, I guess, supposedly) put thought into these and took the time to write them. Did none of them think it through at all or did they just say "hey, we've had a good thing going for ten years. You know the best way to wrap this up? Let's completely change the story or add some last-minute plot twist that makes absolutely no sense whatsoever. Kill off a beloved character for no reason. Let's jump ship to work on a garbage movie and leave the show in far less capable hands."

Do they think these endings work? What's the worst series finale you've seen?

Why do some TV shows end so badly?
Post Opinion