it'd depend on the exact situation.
if i thought my life was in danger, and i thought there was no other (safer) option at the time, i'd fight hard and fast. given that in the situation i'd probably have seconds if that to make a decision and commit to it, i fully expect i might have to make a snap decision which might differ to the one i would make given more time and less pressure.
if at the instant it all happened, i could see another way that i believed at the time to be safer, then i'd do that, be it legging it, doing whatever i was told to by the attacker/s etc.
like i say, i can't say outright what my response would be without knowing the exact specifics of the situation.
please bear in mind, i'm a big ugly looking sod, and anyone pulling a knife on me probably means business. there's always the chance i'm gonna get the pointy end even if i hand over whatever they want.
also, unlike probably the majority, i also have many years experience and training in various fighting styles/arts, and have taught such.
i would generally refrain from offering advice to others about what to do in such situations. probably the best i could offer is to suggest that everyone should go do some martial arts / defence training, not necesarily to protect them in case the worst happens (lets be real, if the worst happens, any amount of training and you can still come off the loser) but more to give them a better apreciation of their own limits and capabilities, and enlighten them to the fact of how vulnerable they really are, and hopefully a more switched on and tuned in attitude when they're out and about. and finally if nothing else, improve their fitness level, so if it comes down to legging it, they don't keel over after 100 yards.
my 2p...