Gijinka cannot be captured in a poke ball. So, frankly, the only way you could get a "gijinka" after it fainted or whatever, is to capture it in a giant net or something. Cages, blahblah blah.

Even then, unless your character is a jerk and threatened it or something, it's that character's choice in the end if it stays with the trainer or not.