Employee was riding on a personnel carrier directly behind the operators compartment when apparently his cap lamp cord caught a roof bolt thus pulling his hard hat off his head. As he went to duck down his left shoulder struck the roof and rolled his body back over the fender of the personnel carrier. Employee did not miss any work however he had been placed on restricted duty.