There’s actually a mountain pass you can escape over into Switzerland on foot.
Or a train you can take to Italy. 😏
Imagine trying to escape over the pass - and discovering that you've accidentally ended up in Germany by mistake!
Though, actually, Bavaria is currently in the process of relaxing its COVID restrictions (the state of Baden-Württemberg - where I live - likewise shares a border with Austria, but sadly still has draconian measures in place).
Regards,