Not really. Consider, as a crude example, test pilots.
Those are the guys who take up aircraft and help make them safe for other people to fly. That involves clear recognition that any flight could be their last - might be a lot safer than it once was, but still.
Bailing out might be an option in extreme cases, giving up and just letting the aircraft plough in never was. Numerous instances of, even when things are hopeless, they keep trying - AND relaying their instrument readings so that, whatever else happens, that data might help someone else down the line.
In both cases, test pilots and starship captains (and a few other fields of human endeavour), you do not give up.