The town's name originated from a sarcastic remark. When asked why the town was abandoned, a resident replied, "There's nothing else left," implying the place was so deserted it might as well be called Shanghai—a term then used to describe being tricked or stranded.