Amy Brenneman and Tim Daly, Private Practice Amy Brenneman and Tim Daly, Private Practice

Pete's in troooouble!

The Private Practice doc decided to do what was morally but not legally right when he let a patient die of his own volition instead of being stuck on a ventilator like the patient's father wanted. Instead, Pete (Tim Daly) listened to the patient's partner and pulled the plug.

Could Private Practice earn a 13-episode final season?

"It seems like at the end of every season, sh-- happens to him," Daly joked to at a recent set visit during the filming of Tuesday's episode. "He gets in hot water. My paranoid self thinks — paired with last year's heart attack — is this a threat? Am I done for? Will they decide that Pete's in prison for life?"

That question will be answered in the season — hopefully not series — finale. "We're in this great moment for him," executive producer Shonda Rhimes tells us. "He's in jail and whether or not he gets out, in a weird way, it's up to him."

Just as Violet (Amy Brenneman) had decided that she still wanted to fight for her troubled relationship with Pete, he's being carted off in handcuffs. At first, this incident may actually help them. "When you're in a struggle with somebody, but they are family, it's that thing where you may be in dispute, but when the world attacks your loved one, you're there," Brenneman says.

However, in the long run, this could be a turning point for whether the couple will last. "It brings the relationship that he has with Violet to a head," Rhimes adds. "They are on the road toward fixing that relationship. Can it be fixed if he continues to make these reckless moves, and not take into account the consequences and to be self-damaging? Can Violet stand by and take it?"

Private Practice Scoop: Pete and Violet go on a "first date"

His relationship with Violet won't be the only one damaged since Charlotte (KaDee Strickland) was the one forced to call the police on her friend and colleague. "I imagine this would be a huge rift," Daly said, then unaware of what fate would befall Pete in the finale since it hadn't yet been written.

"In reality, the doctors on Private Practice break the law and do things that are completely unethical all the time," he continued. "But I think this is pretty bad. It will certainly jeopardize the hospital that Charlotte's in charge of, in terms of lawsuits and everything else. This is bigger than before. Even if what he did is morally and ethically right, legally you can't do that."

Check out a sneak peek at the season finale:

What do you think will happen to Pete in the season finale? Hit the comments with your thoughts.

Private Practice's season finale airs Tuesday, May 15 at 10/9c on ABC.