Actress Stana Katic is still scratching her head over her 2016 departure from “Castle”.

Katic, now 39, played the role of Kate Beckett on the show for six years before her character was abruptly written out of the story.

RELATED: Petition Lobbies For ‘General Hospital’ To Reinstate Genie Francis As Series Regular

“It hurt and it was a harsh ending,” she told Entertainment Weekly. “I met so many beautiful people on that project, and we collaborated on something really unique in that it’s not every day that you get a show, or a series, that has eight seasons and that it was a hit for the network.”

Katic said she was “still not clear on the thought process behind the way that it went down.”

“It would be a disservice to those people, to the work that we did together, and to my work, which I feel contributed, in part, to the success of the show, to be anything but grateful because, at the end of the day, that was a fantastic platform,” she insisted.

RELATED: ‘Battlestar Galactica’ Star Tricia Helfer Files For Divorce From Husband Of 13 Years

Continuing, “It was a formative experience, and we told a love story that I feel moved people, touched people, and I can’t be anything but glad that I was a part of something like that. I hope it remains something special in viewers’ minds forever.”

The show was cancelled less than a month after Katic’s departure. Her new show “Absentia” can be seen Sunday’s on Showcase.

Click to View Gallery
Casting Call: Stars Nab A New Role