Either way it’s an act of suicide. It carries the same karma either way.
All three options (poison, bullet, or attack the murderer) lead to the 'suicide', and since one is given an impossible choice, it is not 'suicide', but 'murder', and carries no kharmic stigma.