A shelter-in-place warning was issued as emergency crews rushed to assess the potential danger from overturned rail cars.