The spring had broken and would not release the latching mechanism. I tried to jury rig it, but it is such a contraption that it still doesn't work well. Short of drilling a second door knob or replacing the door, I don't see there is much I can do. The casing around it won't really accommodate a bolt latch.
Luckily, it is just a closet door.