EE stated he was struck on the head by the EE's canopy when peparing to swing the boom over toward the inside bolt. He attempted to drop the canopy hy level control from the mine roof and it would not release. he then attempted slide the boom sideways thinking the canopy was hung on the bolt plate. As he slid the boom the canopy fell from it position and struck the ee on the head.