Except as otherwise provided in this chapter, on and after the effective date of a detachment, the territory detached from a city or district, all inhabitants within the territory, and all persons formerly entitled to vote by reason of residing within the territory shall cease to be subject to the jurisdiction of the city or district and shall have none of the rights or duties of the remaining territory, inhabitants, or voters of the city or district.