Turn tail

To run away from trouble or danger.

The young boys turned tail when the farmer began to chase them from the field.