Attempting to move a portable litter fence. He stopped forklift with the forks under side of the fence & exited the forklift. With forklift running, he went between the cab & lifting mechanism of the forks to chain the fence to the fork cage. He stepped backwards against the control lever & mechanism moved backward, pinning him between cage & the roof of the cab.