Photo: Samir Hussein/WireImage

Taron Egerton attends the EE British Academy Film Awards 2020 at Royal Albert Hall on February 02, 2020 in London, England.

Taron Egertonhas tested positive forCOVID-19not long after the actor fainted onstage during a production of his play.

Egerton, 32, who is currently starring in the West End production ofCock, will miss a week of performances due to his positive test, the show’s producers shared on Instagram.

“Taron Egerton has unfortunately tested positive for Covid,” the officialCockInstagram account shared in aWednesday post. “In accordance with the production’s health & safety protocols, he will now isolate and we expect Taron to return to the show next week.”

Joel Harper-Jackson will play M, Egerton’s character, while the actor isolates, the post stated.

Egerton’s COVID diagnosis comes just weeks after theRocketmanactorfainted onstageduring the inaugural performance ofCockat the Ambassadors Theatre in London on March 5.

Egerton shared a message to his Instagram Story the following day stating that he was “completely fine” following the incident, which had left him with a “slightly sore neck and a bruised ego.”

Production stopped after Egerton fainted, and a doctor in the audience tended to him,The Independentreported at the time. After a 40-minute break in the show,Cockdirector Marianne Elliott informed the audience that Egerton was “absolutely fine.” Jackson then took over the role of M for the final 15 minutes of the show.

RELATED VIDEO: ‘Rocketman’s Taron Egerton Plays Coy About His Email Correspondence with Elton John

In his Instagram Story statement, Egerton said he was putting a “positive spin” on the incident.

“I would appreciate it if anyone who was in the theatre last night just said that I gave such a committed, electrifying performance that my body couldn’t handle it and checked out,” he wrote at the time.

“That being said, apparently you’re meant to actually do the full show and not just three quarters of it,” Egerton added. “So I’ll be back with a vengeance tomorrow night.”

Never miss a story — sign up forPEOPLE’s free weekly newsletterto get the biggest news of the week delivered to your inbox every Friday.

He went on to thank “the amazing team at the theatre” as well as his “wonderful cast mates for being so lovely.”

Egerton also gave a shout-out to Jackson, “who stepped in to do the last bit of the play.” He wrote, “Joel is an amazing actor and a lovely person.”

Cockfollows a gay man named Josh (Jonathan Bailey), who questions his sexuality after he falls in love with a woman named W, complicating his relationship with his boyfriend, M. The play officially opened March 15, and will run through June 4.

source: people.com