I have a similar age Howse that uses a shear bolt where your “pin” is and a circlip on the end of the shaft to hold the yoke on. The shaft is smooth so the yoke will free spin on the shaft if the shear bolt breaks. The circlip keeps the yoke from sliding off the shaft so the PTO shaft doesn’t become a wildly spinning implement of mass destruction if the shear bolt breaks. To remove the yoke from the gearbox, first remove the shear bolt (or what’s left of it), then slide the yoke toward the gearbox to access the circlip (you might have to disassemble the U joint if that still doesn’t get you enough room to remove the circlip), pop off the circlip, and the yoke will slide off the shaft.
If it has a smooth shaft, pretty confident the above is correct. If it has a splined shaft that pin is more likely a push button release as described by others above. If it’s a splined shaft, there should be a shear pin or slip clutch elsewhere in the driveline. If there isn’t, that strongly implies smooth shaft with shear pin.
I’d start by sticking a finger up in that yoke to see if I could determine for sure if it’s smooth or splined. If that didn’t work, I’d stick a little mirror in the yoke and look at it. If that didn’t work either, I’d look for another shear pin or clutch in the driveline and assume it’s splined if there’s overload protection elsewhere; smooth if nothing elsewhere.