During an inspection of the production hoist the employees tested the upper limit switch and the hoist tripped out but was unable to be reset. The employees remained on the inspection deck during troubleshooting of the hoist but were able to exit the work deck if needed via a ladder to the next level of the head frame. The brake switch was reset and the hoist became operational.