Lady Gaga attends The Daily Front Row's 5th Annual Fashion Los Angeles Awards at Beverly Hills Hotel on March 17, 2019 in Beverly Hills, Calif.

Lady Gaga caused a minor stampede at Apple's headquarters in Cupertino, Calif. when she took to a giant, rainbow-covered stage for a surprise set on Friday (May 17).

The event, which marked the formal opening of Apple Park, featured Gaga as a secret headliner -- and when Apple employees found out that she'd be performing in the middle of their campus, they dropped what they were doing and ran towards the colorful archways that had been constructed in the center of the grassy expanse.

software people going gaga for Gaga ?? pic.twitter.com/Bg5VHLHJL3 — Fake President (@TaylorKsCalves) May 17, 2019

Wearing a cerulean wig and neon pieces pulled from the costume closet of her Enigma residency in Las Vegas, Gaga played through a number of her greatest hits, including her award(s)-winning "Shallow" from A Star Is Born. She also paused for a moment of silence for Apple founder Steve Jobs, who died from complications following pancreatic cancer in 2011.

Apple CEO Tim Cook thanked Jobs in a heartfelt message he posted after the event, and thanked Gaga for "making our celebration unforgettable."

We came together today, in the home you imagined for us, and celebrated your spirit. We love you, Steve. pic.twitter.com/5PccqcBi1c — Tim Cook (@tim_cook) May 18, 2019

Thanks to the incomparable @ladygaga for helping make our celebration unforgettable. ---- pic.twitter.com/tgBJoBTzxo — Tim Cook (@tim_cook) May 18, 2019

Check out Gaga performing "Shallow" in Apple Park below.