To persuade someone not to do something; to discourage.
To prevent something from happening.
To distract someone from something.
To stop (an outcome); to keep from (doing something).