This happened near Marshall's Beach in San Francisco.
Firefighters say rope crews were able to reach him just as his phone ran out of battery -- with a helicopter crew assisting.
He was brought up safely -- and no one was hurt.
If you're on the ABC7 News app, click here to watch live