The production hoist would not move out of the loading pocket due to an indicator switch indicating the gate was unlatched. Power to the switch was removed and allowed the hoist to operate. All miners underground were evacuated to the surface via the Koepe Hoist with no injuries or other issues.