In a city that sometimes went dark — when the power failed or the government shut things down — most people felt cut off and alone.