Stana Katic is returning to TV after her tumultuous exit from Castle. The actress is in advance talks to star in AXN's new drama Absentia.

According to Deadline, Katic would play an FBI agent who disappears while hunting one of Boston's most notorious serial killers. Six years later, she is found in a cabin with no memory of what happened since she was declared dead. When she returns home, she discovers her husband is raising their son with his new wife. Things only get worse when she becomes a top suspect in a new series of murders.

Production on Absentia's 10-episode first season would begin early next year for an expected 2017 debut on AXN, an international cable channel owned by Sony. The series hasn't yet been shopped to U.S. networks.

This would be Katic's first role since she was fired from Castle in order to cut costs for a potential ninth season. The network received overwhelming criticism over the decision and the ABC drama wound up being canceled after eight seasons, allowing Katic to close out the series opposite her co-star Nathan Fillion.