Riders were stuck on the California Screamin' ride Monday at California Adventure, the sister park to Disneyland, after someone took out a selfie stick and the ride was halted, officials said.

The riders were escorted off the ride by 6 p.m. after waiting for 20 minutes, a Disneyland spokesperson said.

Disneyland officials said someone whipped out a selfie stick, which is banned from the park and rides.

Disneyland officials said the ride is stopped any time a selfie stick is taken out as it poses a safety risk.

The ride was to resume shortly after evacuating riders.

Selfie sticks were banned from Disneyland and California Adventure in 2015.

In a similar incident in June, California Screamin' was stopped because a rider pulled out a selfie stick.