SAN FRANCISCO (CBS SF) — A black Chihuahua mix dog named Duck was saved Sunday afternoon from the cliffs at Fort Funston after spending 26 hours stuck above the Pacific Ocean, San Francisco firefighters said.

Duck’s humans were at Fort Funston, part of the Golden Gate National Recreation Area, Saturday afternoon when their little dog – which apparently was not on a leash – wandered away and onto the steep (and hard to access) cliffs.

READ MORE: Former Secretary of State Colin Powell Dies Of Complication From COVID-19

The dog spent the night there, but was spotted Sunday morning by people hang gliding nearby, who told firefighters where Duck was, firefighters said. A cliff rescue ensued, and Duck was hauled up about 2:30 p.m. Sunday, apparently physically fine.

READ MORE: Australian Singer Clinton Kane Robbed At Gunpoint In San Francisco; 'They Had The Gun In My Face'

Dogs are allowed to go off-leash in that part of Fort Funston, fire department Lt. Jonathan Baxter said Sunday, but added that keeping them on a leash near the cliffs is probably a good idea.

MORE NEWS: Rain Showers Trigger Power Outages Across The Bay Area

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