I got stuck on the non-downtown side of Shanghai once because I assumed that I'd be able to walk or bike across at least one of the bridges. But I couldn't find any way to get across. I had to wander around until the metro opened back up in the morning to get back across (and make it to flight in time).