The rescue operation, which involved special equipment, took about two hours to hoist the man to safety.