In addition to this common usage, "surrender" can also be used in other occasions, such as giving up rights, giving up oneself, giving in, etc.
The usage of "surrunder" is also very flexible. It can be used as a transitive verb or an intransitive verb. For example:
After a long and bloody battle, the enemy surrendered. )
He finally gave up his claim to property. )
She turned herself in to the police. )
We cannot give in to despair. )
In addition, "surrender" has some common fixed collocation, such as:
Give in to temptation
-Surrender to fate
Surrender to the authorities (surrender to the authorities)
Give up one's will
-Give yourself to God (give yourself to God)