Employee was taking preventative measures by inspecting roof bolter canopy for broken center pins. While inspecting they had trouble getting the canopy to free and the canopy came loose and swung on the chain ratchet it was secured by and hit him on the face.