As far as I know, your teacher is correct. You flee because of danger eg.
"He risked his life to flee the socialist dictatorship of his country."
"She gave the mugger her wallet and fled."
"This was my turn to do the washing up, but I managed to escape it by shamming a headache."
Is that correct?
- For Teachers