Many pinion gears (without a set screw) are held onto the motor shaft by friction. Forcing the pinion gear off or on will damage either the motor or pinion gear. Heating the pinion gear with a torch prior to removing or attaching it will avoid damage.