Nelsan Ellis as Shinwell, Jonny Lee Miller as Sherlock
In a sneak peek from Season 5, episode 10 of “Elementary,” Sherlock (Jonny Lee Miller) becomes furious when he discovers that Shinwell (Nelsan Ellis) remains engaged with SBK despite giving him his “second second chance” to start his life anew. CBS

Sherlock (Jonny Lee Miller) is extremely disappointed with Shinwell (Nelsan Ellis) when the detective finds out that the ex-con is still involved with his former gang, SBK.

In a sneak peek from Season 5, episode 10 of “Elementary,” Sherlock becomes furious when he discovers that Shinwell remains engaged with SBK despite giving him his “second second chance” to start his life anew.

When Sherlock tells Joan (Lucy Liu) that Shinwell is still connected with SBK, the London native is surprised that his partner knew about it all along. “He’s still gathering intel,” Joan tells Sherlock of why Shinwell remains involved with the gang. “He still wants to bring SBK down.”

Much to Sherlock’s dismay, Joan admits that she actually helped Shinwell connect with someone who would help him dismantle the gang. “When I committed a felony to keep Shinwell out of prison, it was so he would have the opportunity to get his life straight,” a mad Sherlock says. “I thought he’ll find a clever way to extricate himself from the gang!”

Joan continues to defend Shinwell’s decision, saying: “He is getting his life straight. He is finishing what he started. … He risked his life to get back into SBK. They trust him. [And] he doesn’t just wanna waste that.”

In Season 5, episode 9, Shinwell was framed by FBI agent Whitlock (Dorian Missick) for the murder of Ricky Morales. Shinwell was in the murder scene, but he wasn’t the killer. Although he didn’t kill Ricky, he could still have been arrested for the murder, as a gun obtained from the scene had his fingerprints. Shinwell’s trip back to prison, however, was prevented when Sherlock wiped Shinwell’s prints off the gun before it was processed by the authorities.

Despite Sherlock and Joan’s opposing views on how Shinwell should live his life post-imprisonment, the crime-solving duo works together in this Sunday’s episode to clear Joan’s name.

According to the synopsis for the episode, Sherlock and Joan search for the person using her medical license to sell drugs after she was implicated in a DEA investigation into doctors writing illegal prescriptions.

“Elementary” Season 5, episode 10, titled “Pick Your Poison,” airs on Sunday, Dec. 18 at 10:30 p.m. EST on CBS.