The pin on the upper shift rod usually stays in place, as their is a coupling near the lower unit, that will slip out and allow the gearcase to be removed.
If you need to remove the upper shift rod, drop the gearcase and drive out the pin in the upper shift rod. However, I have never seen a need to do this.