Sections of the trail will remain closed for several months as the County of Orange coordinates repairs, city officials said.