Carefully hose clamp the pin in as far as you can. Tap it to ensure it's pushed in ALL the way. Then give it gentle nudges with a hammer. If there is space for a pry bar, try that also. The goal is to remove it without damaging the tractor's pto stub shaft or internal bearings and gear teeth.
It's also possible that the retaining pin became bent internally, and that this prevents it from releasing the coupler. Try rotating the pin 180 degrees to a different angular position so that a bend is away from the stub shaft.
As a final resort, there should be a 'C' clip on the end of the pin, remove it and drive out the pin with a center punch. Then it can be pryed out. (Theoretically). Paint, dirt, rust, and bad tolerancing cause this. I like mine loose. Under power, they stay secure and won't wobble. Worst case is a tight coupler on a heavy CV jointed shaft (that I can hardly pick up the end of, much less put it on or take it off)...