At 6:10 a.m. it was reported the hoist was not working. MSHA was notified by phone at 6:15 a.m. After trouble shooing it was determined that the DHSS (Electronic Lilly switch) was not in the run mode, and a magnetic switch had moved causing the error. After corrections were made and hoist tested several times hoist was put back in service at app. 9:30 a.m.