3rd shift hoist operator had the hoist stop running- an electrician was called out, MSHA was notified and the foreman began the process of evacuating the mine. The electrician arrived 3:00AM and determined immediately that the problem was not a failed drive, but an issue with the PLC. The PLC needed the program rebooted. Evacuation was cancelled as the hoist was functioning.