SAN FRANCISCO (CBS SF) – A flight was turned back to San Francisco International Airport on Monday after a mechanical defect on the plane was detected, an airport spokesman said.

Hong Kong Airlines Flight 61 reported a flap issue after taking off at about 2:25 p.m. Monday, according to SFO spokesman Doug Yakel.

READ MORE: Twitter To Pay $809 Million To Settle Class Action Lawsuit Brought By Investors

The plane circled in the sky above the airport for nearly five hours, according to flight tracking software FlightAware, before alighting at SFO around 7:20 p.m.

One disgruntled passenger complained on Twitter Monday night that she went on a “flight to nowhere,” writing, “welcome to boo boo the fool airlines.”

READ MORE: KPIX Original Report: SF Mission Bay Sidewalks Sinking But City Won't Fix 'Private Property'

The flight was rescheduled for Tuesday and departed at 9:30 a.m., Yakel said via email.

Hong Kong Airlines was not immediately available for comment on the issue.

MORE NEWS: Motorcyclist Airlifted To Hospital After Crash Near Bethel Island

© Copyright 2019 CBS Broadcasting Inc. and Bay City News Service. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.