Commercial truck driver who had been trained & signed off on Hatton Site Specific Awareness training to stay in his truck at all times got out of his truck to release a rock from the tailgate. He lifted the tailgate with his left hand & removed the rock with his right hand. As he did this the tailgate went shut pinching his right hand.