Cat learns never to turn its back on a goat