Employee was changing a planetary on a C/M. While the planetary and arm were being worked back and forth in an effort to remove it from beside the machine: the employee's thumb was smashed between the frame and planetary. This resulted in a laceration and a fracture to the thumb.