To agree completely with someone.
To betray someone who trusts you.
To make peace and end a conflict or disagreement.
To avoid becoming too friendly or close with someone.