Rescue helicopters were used to help those stranded inside the cable cars.