Syfy isn’t a safe home for “Haven” anymore. The network has canceled the science-fiction drama after five seasons. Unfortunately, that news wasn’t confirmed until after Season 5 was finished filming, but fans shouldn’t expect a lackluster ending.

“Haven” writers knew they were in danger of cancellation, according to TheWrap, which first reported the show would not be renewed. Showrunner Gabrielle Stanton revealed she planned for the worst.

“I’m sure as a fellow TV fan, there’s nothing more annoying than when a show kind of feels like it might be wrapping up, but they just don’t address it, they don’t come to any kind of satisfying conclusion,” she told TheWrap. “I always think that’s cheating the audience a little bit, of a nice satisfying ending. So we really looked at these 13 episodes as … if we were indeed going to end, what would be the best ending we could possibly do for ‘Haven’?”

That doesn’t mean everything will be sorted out. Stanton left room for the show to continue in case they were given a Season 6. “We left it open but if it is the series finale, we think the fans will be satisfied,” Stanton added. “We didn’t want to leave it on a giant cliffhanger, just in case we didn’t come back. … So as a writer it was kind of nice to say, OK, if this is the end, how can we leave this world in the most satisfying way possible?”

Fans knew “Haven,” which follows FBI agent Audrey Parker (Emily Rose) fighting the supernatural beings in a small town, was in danger of cancellation and have been using the hashtag #SaveHaven on Twitter. First, Syfy ordered 26 episodes for Season 5 and divided it in two, something that’s becoming common for the final season of cable shows. “Mad Men” and “Breaking Bad” followed the same pattern, and “Hell On Wheels” is set to do the same. Then, the ratings dropped. “Haven” Season 4 averaged 1.47 million viewers, according to TV Series Finale, while the first half of Season 5 only averaged 860,000 fans.

Even though the end is near, “Haven” viewers still have plenty to look forward to before the series finale, including famous guest stars. The last half of Season 5 will include William Shatner. Deadline reported the “Star Trek” actor will play “a pivotal character who has the potential to forever impact the fate of the town of Haven and its troubled residents.”

The “Haven” Season 5 midseason premiere will debut on Thursday, Oct. 8, at 10 p.m. EDT on Syfy. Did you want “Haven” to be renewed for Season 6 or did you think it was time for the show to end? Sound off in the comments section below!