Kotor is a coastal town in Montenegro.
Walk to the tunnel along the road towards Budva. Vehicles go pretty slow here and there's plenty of space for them to pull over. Some anonymous hitchhiker got a ride to Podgorica in less than an hour. Lifts to Budva are even easier.