Carlos Ramirez captured the video Saturday while walking up the steps to a waterfall to take pictures.
But on their way back down the steps, the bear began walking towards them before running away.
Ramirez and his friends continued on their trail unharmed.
VIDEO: Video: Teen fends off bear in California backyard
VIDEO: Video shows rare sight of bear giving vocal performance at Yosemite National Park