The pinion when put on is usually done with lock tite. That being said I usually heat it with a soldering iron to loosen it.
You may need to cut a slit in it with a Drexel and use a flathead to get undone. Maybe a screw extracter or reverse drill bit?