Mountain bikers have scary encounter with a grizzly bear

While riding their bikes on the mountain trail, these bikers ran into a grizzly bear. They got scared a backed off before the bear finally decided to go back into the forest. How would you have reacted in this situation?