Many other residents had spent the night in their cars, as aftershocks continued to jolt the area, broadcaster NHK said.