End up (going somewhere)

To go somewhere where you had not planned to go.

We ended up going to a restaurant after the movie last night.