Well yeah you are about to die, but if you reach for the sword falling with you. You can grab it and then when the dragon swallows you, just start stabbing and slashing everywhere. You might get lucky and take it with you as it chokes on it's own blood.
That spear in your neck? Nah it's just a flesh wound. Just let yank the thing out and bandage it. Then use the spear to kill the thing that's about to eat you. You can win this buddy! What? No I can't help you. I'm here for emotional support. And I am the invisible, one armed man. What do you expect me to do?