Unregister CLI commands on exit