The west brake switch on the Koepe access cage malfunctioned. Troubleshooting finally determined the problem and the switch was replaced. Mine evacuated; 27 persons in mine. No injuries or further problems. Third shift did not enter mine. Hoist back in service at approximately 12:50 - 1:00 am.