What does ‘wind up’ mean?

wind up

( v ) End up, go to finally. After making many wrong turns, he finally wound up right back where he started.
( v ) Bring to an end. Let’s wind up the party and go to bed.