Give oneself up

To surrender, to stop hiding or running away.

The robbers gave themselves up when the police surrounded the house.