Katy Perry found herself trapped in a giant inflatable water bottle after a stunt went wrong during her latest music festival performance.

The 41-year-old pop mega star was headlining the Isle of MTV festival in Malta this month when her attempt at crowd-surfing saw the singer briefly stranded in the bottle, struggling to roll back towards the stage.

Katy Perry has been crowd-surfing in a giant inflatable water bottle during her European festival run. Salvatore Di Nolfi/Keystone via AP

The I Kissed A Girl singer was performing her hit single on Wednesday night when she attempted to crowd-surf in the giant plastic prop.

One video circulating from the night shows thousands of fans rolling Perry further and further into the crowd.

“OK take me back to the stage, back to the stage!” the Grammy nominee was heard pleading in one video. “Oh my god!”

Fans eventually carried the singer safely back to the stage while Perry was seen on her hands and knees, holding on inside the inflatable clear bottle.

“Thank you for bringing me back,” the relieved singer announced in the microphone with a big smile.

The Firework hit maker has been using the giant plastic water bottle through her current European tour as a way to “get up close and personal” with fans.

“I basically get in this giant inflatable water bottle and I roll it into the crowd,” she explained to the Isle of MTV Malta’s official Instagram.

“And tonight I went kind of far and I was a little bit worried I was not gonna come back.”

Fans were supposed to push the singer back to the stage.  Salvatore Di Nolfi/Keystone via AP

The singer thanked her fans for getting her back to the main stage safely.  Salvatore Di Nolfi/Keystone via AP

This isn’t the first time one of Perry’s on-stage stunts has made headlines.

Just last month the singer took a not-so-subtle swipe at her exes while performing in Spain.

Perry made the humorous jabs at her famous exes Diplo and John Mayer, and ex-fiance Orlando Bloom, while performing her 2020 single Never Really Over alongside a giant iPhone prop at the O Son do Camiño festival in June.

Katy Perry references her past relationships on stage in Spain

Shoutout to her exes. X/@RensKatyCatP

The song is about revisiting a relationship with an ex, but Perry made clear that is not her current situation.

In footage captured by fans, the phone flashed during Perry’s performance as if she were receiving calls from the trio, but she did not answer.

She declined Diplo’s call and let “JM” (John Mayer) and “OB” (Orlando Bloom) go to voicemail.

Katy Perry showed some love to  Justin Trudeau on stage in Spain

After joking about her exes, Perry gave a shoutout to her current boyfriend, Justin Trudeau. X/@RensKatyCatP

But when the phone flashed up a call from “JPJT”, her boyfriend of almost a year, former Canadian prime minister Justin Trudeau (who’s full name is Justin Pierre James Trudeau), that was a different story.

As the call flashed up on stage Perry repeatedly hit the green answer button.