CBS told Deadline in a statement: "Jennifer has informed us that she is only available to work on a very limited part-time schedule. As a result, she's unable to perform the demands of her role and we regretfully had to put her character on a leave of absence."

After CBS released the news, Esposito, who is battling with coeliac disease, blasted at the network for its "shameful behavior".

"CBS PUT me on unpaid leave and has blocked me from working anywhere else after my doctor said you needed a reduced schedule due to Celiac," the actress posted on Twitter. "CBS didn't listen to my doc and I collapsed on set. Which everyone saw!

"After a week off, my doc said I could return to work but CBS implied that I was NOT truly ill and this was a scheme to get a raise! It's been almost two months without bringing me back to work + keeping Me from working anywhere else!... Absolutely shameful behavior."

While Esposito has filmed her last episode for the time being, which will be aired on Friday, November 2, CBS stated that it hopes "that she will be able to return at some point in the future".

The network has cast guest stars to play Reagan's temporary partner, including Megan Ketch.