That locking pin is fully extended, meaning it locked the extension onto the PTO shaft. Will the locking pin push in all the way? If so, there will be approx. 1/8" still sticking up.
I suspect by "tapping it on" the larger part of the pin is now swedged into the circular groove, so removing the pin is vital to getting the extension off.