Environmental Media Association Hosts Its 25th Annual EMA Awards Presented By Toyota And Lexus - Red CarpetABC cancelled "Castle" on Thursday -- along with a bunch of other series -- and now, star Stana Katic has shared some heartfelt words with fans about the show's demise.

In a handwritten note that she posted to Twitter on Friday, Katic addressed "Castle" viewers, cast, and crew, thanking them for their dedication, and reflecting on her time on the series.

"Dear Castle fans, cast and crew: Your devotion to our show has carried us for these unforgettable eight seasons," the note said. "I'm lucky to have met and worked with and for the lot of you. I will always be grateful. Big hug, Stana."

Katic's grace is especially noteworthy now, since she was already fired from the series -- meaning she would not have been back, even if the show had been renewed for season nine after all -- before ABC officially cancelled it on Thursday. The move was apparently a preemptive cost-cutting measure (fellow original cast member Tamala Jones was also let go) in the hopes of buoying the show's chances at a renewal; instead, the firings just angered "Castle" fans, and caused Katic and Jones additional heartbreak for seemingly no reason.

Producers reportedly shot two different endings for the season eight finale -- which will now serve as the series finale -- in case a renewal did not happen. Here's hoping the show gives Beckett (and Katic) the sendoff she deserves.

"Castle" wraps on May 16.

[via: Stana Katic]

Photo credit: ​Getty Images for Environmental Media Awards