SPOILER ALERT: AnnaLynne McCord films last scene of 90210 with a smile... but it's not all a happy ending as Michael Steger is pushed off in a stretcher

But while it was a sad week for AnnaLynne McCord and her fellow cast members of 90210, the group of youngsters decided to share in a few happy moments behind the scenes as they filmed their final episode in downtown Los Angeles on Friday.

Lasting memories: AnnaLynne McCord and 90210 co-stars Michael Steger and Tristan Wilds pose on the set of their final episode on Friday

The 25-year-old was seen smiling and posing for keepsake snaps with cast mates Tristan Wilds and Ryann Eggold as they returned to film the closing episode for the fan-beloved drama.

Despite only three days remaining on their shooting schedule, Tristan, 23, and AnnaLynne looked like they were set on giving every one of their final moments on screen their very best.

'My call time for my last 3 days of 90210 is happening very soon. Gonna sleep for a few more minutes! Xxx A,' the former Nip/Tuck actress tweeted early Friday morning.

Keep in touch: The trio seemed to be in a jovial mood despite having just three days left of filming

Goodbye: AnnaLynne got chummy with some crew members

Saying their farewells: The characters were spotted giving hugs both on and off set

The cast appeared to be in a
light-hearted mood in the midst of the busy filming schedule, posing
among the trailers with each other for some farewell snaps.

AnnaLynne shared her nostalgia with the crew members, posing for photographs with her arms wrapped tight around their shoulders.

And she could be seen making banter with both her make-up artist and sound engineers.

Warm embrace: AnnaLynne and Shenae Grimes, whose characters feuded often during the five seasons, appear to be in a friendly mood

Rescue effort: Shenae and Jessica Stroup stand about while an emergency scene goes on

The actress made famous for her role
as Naomi Clark also had scenes with Shenae Grimes, 23, wearing matching
powder blue T-shirts emblazoned with AnnaLynne's likeness.

The shirts were inscribed with: 'Naomi Clark's Rescue Relief'

And
if anything was to give a clue as to what the blonde actress needed to
be rescued from was the presence of a fire truck and actors dressed as
emergency responders.

Fully involved: AnnaLynne's character hung about with the firefighters

Giving her thanks: The 25-year-old chatted with the extra actors between scenes

AnnaLynne emphatically bounced around
during her last scenes, shifting between a look of fear as she walked
through the streets with her co-stars, and anger as she holds back
Jessica Lowndes' character Adrianna Tate-Duncan
from a harsh move during one scene.

Jessica, who was sporting a wrapped ankle and given a ride on a stretcher, wasn't the only injured castmember on set on Friday.

Michael
Steger, who plays Jessica Stroup's on-screen beau Navid Shiazi, was
aksi seen lying on a stretcher amid a torrent of chaos.

Emotional: The stars were acting out a particularly emotional scene

Scratched up: Jessica Lowndes's character Adrianna is battered on her arm and face

That's not good: Jessica Lowndes is seen being pulled on in a stretcher

In the final season, fans can look
forward to a guest appearance from Michael Jackson's son Prince and a
performance from newly reunited band Fall Out Boy.

Prince
is reported to be guest starring in the final episode as Cooper, a
trauma victim Erin Silver, played by Jessica Stroup, bonds with.

The
show was tag-on to the 1990s hit show Beverly Hills 90210 which starred
the likes of Jason Priestly, Shannon Doherty and Jennie Garth and
lasted ten seasons.

Among the injured: Michael Steger was also wounded in the final storyline

Dizzy spell: Something is in the air on set, as Jessica Stroup's character appears to faint into Tristan's arms

Beginning in 2008, the reboot starred Garth among many of the original cast members reprising their roles.

Priestly chipped in with a sympathetic tweet, writing: 'The CW's 90210 to end after five seasons. Lasted half as long as the original...Not bad guys...'

TV Linereports that ratings slipped from a million viewers to under 600,000 this season and has been performing poorly.