Keep away has 2 different meanings across 1 category:
Verb
prevent from coming close
"I tried to keep the child away from the pool"
To refrain from coming (near).