Suppose an incident like this:
An airplane equipped with an ejection seat suffers a problem severe enough that the pilot decides to eject. As he pulls the handle... nothing happens. The ejection system completely fails to function.
Upon realizing that he's either going to land the stricken plane or go down with it, the pilot somehow manages to maintain control and bring the aircraft into a successful landing ("successful" meaning non-fatal for the pilot, if not for the aircraft). On the ground, the emergency crew rushes to release the pilot from the cockpit.
Now, one would suppose that a failed ejection seat system presents both the ground crew and the pilot a similar kind of a hazard that a dud ammunition would: firing has been attempted but it has not commenced for an unknown reason, and the system with all the explosives in it is now in a potentially unstable state, unsafe to approach or access.
How is such a situation handled? Are there any standardized procedures to disarm and secure a failed ejection system from the outside as part of the rescue effort?
Have there been incidents like this in real life?