Please tell what happened and how it might have been avoided. Names should be ommitted. This forum should help others learn from mistakes that caused or nearly caused a mishap.
If you fly with a PTT, please set your transmit timer. If you can't do it i'll do it for you. Takes about 20 seconds. Inability to communicate due to a stuck button could be considered a safety issue.
However OP failed to mention one thing before you start. You must UNLOCK your radio before beginning. For my FT-150 radio, push the F key and then the LOCK(6) to enable changes.
This will save many of us a some grief since just about everyone runs into shorted wires or other stupid reasons where the transmit button gets continuously activated.