Cession of jurisdiction pursuant to § 22-7-226 shall take effect only upon acceptance of such jurisdiction by the United States. Federal jurisdiction so ceded shall end as to any such lands, waters, or buildings, or portions thereof, that cease to be owned, leased, or occupied by or on behalf of the United States.