He may have been replaced as Spider-Man by both Andrew Garfield and Tom Holland.

But Tobey Maguire certainly hasn’t forgotten how to be a superhero.

The 42-year-old newly-single actor was spotted enjoying a beach day with some friends in Malibu on Tuesday when he used his quick-thinking to aid a woman who happened to be topless in the water.

Scroll down for video 

Saving the day: Tobey Maguire was spotted enjoying a beach day with some friends in Malibu on Tuesday when he used quick-thinking to aid a woman who was topless in the water

Saving the day: Tobey Maguire was spotted enjoying a beach day with some friends in Malibu on Tuesday when he used quick-thinking to aid a woman who was topless in the water

Saving the day: Tobey Maguire was spotted enjoying a beach day with some friends in Malibu on Tuesday when he used quick-thinking to aid a woman who was topless in the water

Spidey-sense: She seemed to lose her top in the ocean when the 42-year-old actor had the smart idea of grabbing seaweed and covering her up

 

Spidey-sense: She seemed to lose her top in the ocean when the 42-year-old actor had the smart idea of grabbing seaweed and covering her up

She seemed to lose her top in the ocean when Tobey had the smart idea of grabbing seaweed and covering her up as they enjoyed Fourth of July festivities.

The pretty mystery brunette seemed to be swimming in just her underwear as she emerged from the water in see-through black boyshort panties.

The Great Gatsby actor grabbed handfuls of seaweed and playfully put it on the other woman who wore a white one-piece bathing suit.

Man of action: Tobey was definitely a helpful hand

Man of action: Tobey was definitely a helpful hand

Oops: The pretty mystery brunette seemed to be swimming in just her underwear as she emerged from the water in see-through black boyshort panties

Oops: The pretty mystery brunette seemed to be swimming in just her underwear as she emerged from the water in see-through black boyshort panties

Almost there: The woman braced herself before walking on shore 

 

Almost there: The woman braced herself before walking on shore

The two then joined forces to cover up their topless friend with the green algae completely before they headed back to shore.

Tobey was a perfect gent as he ran back to his tent on the beach to grab the woman a towel and even covered her up.

What a gent! The Spider-Man star ran to their beach tent and grabbed a towel 

What a gent! The Spider-Man star ran to their beach tent and grabbed a towel

Real-life superhero: He even covered the woman himself with the dry towel

Real-life superhero: He even covered the woman himself with the dry towel

Fun in the sun: The trio were enjoying Fourth of July festivities 

Fun in the sun: The trio were enjoying Fourth of July festivities

Warming up: The mystery girl seemed appreciative that the actor had sprung into action

Warming up: The mystery girl seemed appreciative that the actor had sprung into action

Wonder in white: There was another mystery brunette who wore a white one-piece

Wonder in white: There was another mystery brunette who wore a white one-piece

After the disaster was averted the two women walked back to their site on the beach and carried on with the rest of their holiday.

Tobey showed off his superhero physique in a pair of red striped swim shorts and seemed to be in good spirits as he tripped and fell in the water at one point.

No doubt the Golden Globe-nominated actor has been enjoying the single-life since his split with wife Jennifer Meyer.

Does whatever a spider can! Tobey seemed overjoyed as he figured that seaweed would be a good solution 

Does whatever a spider can! Tobey seemed overjoyed as he figured that seaweed would be a good solution

Playful: Instead of putting the green algae on the topless woman, Tobey jokingly tossed it on the head of the woman in the white bikini 

Playful: Instead of putting the green algae on the topless woman, Tobey jokingly tossed it on the head of the woman in the white bikini

Having fun: The trio shared a laugh together 

Having fun: The trio shared a laugh together

Nice moves: Tobey and the woman in the white bathing suit then transferred the seaweed on the topless woman

Nice moves: Tobey and the woman in the white bathing suit then transferred the seaweed on the topless woman

Nice moves: Tobey and the woman in the white bathing suit then transferred the seaweed on the topless woman

Making a splash: No doubt it was quite the dramatic scene

Making a splash: No doubt it was quite the dramatic scene

Feeling good: Tobey and the woman in need of helped seemed to be in good spirits despite the chaotic experience 

Feeling good: Tobey and the woman in need of helped seemed to be in good spirits despite the chaotic experience

Fun in the sun: The trio enjoyed the holiday day together 

Fun in the sun: The trio enjoyed the holiday day together

Getting in on the action: Even Tobey wrapped seaweed around his neck

Getting in on the action: Even Tobey wrapped seaweed around his neck

Getting silly: The Golden-globe nominated actor recently split with his wife of nearly 10-years Jennifer Meyer

Getting silly: The Golden-globe nominated actor recently split with his wife of nearly 10-years Jennifer Meyer

Tobey and the 40-year-old professional jewelery maker Jennifer, whose father is former Universal Studios president and CEO Ronald Meyer, met in 2003 and married in 2007 in Hawaii.

Gautier V

The couple announced their split last October in a joint statement, saying: ‘After much soul searching and consideration we have made the decision to separate as a couple.

‘As devoted parents, our first priority remains raising our children together with enduring love, respect and friendship.’

Patriotic: Tobey showed off his superhero physique in a pair of red striped swim shorts

Patriotic: Tobey showed off his superhero physique in a pair of red striped swim shorts

Patriotic: Tobey showed off his superhero physique in a pair of red striped swim shorts

Single and ready to mingle: The actor certainly seems to be enjoying the single life

Single and ready to mingle: The actor certainly seems to be enjoying the single life

Whoops: At one point Tobey lost his footing and fell in the water

Whoops: At one point Tobey lost his footing and fell in the water

Whoops: At one point Tobey lost his footing and fell in the water

Moving on: The couple announced their split last October in a joint statement 

Moving on: The couple announced their split last October in a joint statement