To prevent something unfortunate or traumatic from affecting oneself.
To ignore petty or trivial issues and do what one is supposed to; to act better than someone or something inappropriate.