A hiker had to be rescued after becoming stuck on a rock while hiking Breakneck Ridge.