Whenever a county highway has been established within a city, as provided in this article, and an extension of such highway in the unincorporated area of the county is thereafter annexed by the city, the portion annexed shall continue to be a county highway until a resolution of relinquishment is adopted in accordance with Section 1731.