Retreat itself is often a plan of resistance and may be a precursor of great bravery and sacrifice. Every retreat is not cowardice which implies fear to die.
My advice to you, if you should ever be in a hold up, is to line up with the cowards and save your bravery for an occasion when it may be of some benefit to you.