Yes, you're right 22 yards. There is a mechanism for requesting loss of Swiss citizenship.
B.Loss by Official Decree a.Relief of Citizenship
Art.42
1 A Swiss citizen shall on request be relieved of his or her Swiss citizenship if he or she is not resident in Switzerland and holds or has been assured of another nationality. For minors, Article 34 applies mutatis mutandis.
2 Relief is granted by the authority in the canton of origin.
3 Loss of cantonal and communal citizenship and thus of Swiss citizenship take effect on service of the certificate of relief of citizenship.
https://www.admin.ch/opc/en/classifi...0000/141.0.pdf