π Leaving the collator program
Unregister collator by yourselfβ
This is pretty easy, just submit this extrinsic. collatorSelection β leaveintent.

Evicting underperformed collator by governanceβ
If your collator is underperformed, Calamari governance will propose a proposal to remove your collator from the collator set, but your reserved KMA will be returned.
Propose a motion like this, collatorSelection β removeCollator.

This process will be codified in a new pallet.