How to remove "self-triggering" trunk lid prop-'65 Barracuda?

I have a broken hinge pin (passenger side) and need to weld/repair the trunk lid anyway. How does one remove the trunk lid with the early trunk prop that locks itself open, then unlocks itself when you raise the lid again? I did a quick search, did not find anything relevant yet. Thank you.

DSC04276.JPG