With a train you have to plan ahead for this. Get out at the right station, figure out how the bus system works and how to get to your destination. And hoping that I can even get there, as an example many countries don't have functioning local public transit on a Sunday. Or because the closest bus stop to where you want to go is a couple kilometers out. It feels very restraining to me.