public void deactivate() throws IOException {
    LOGGER.info("Deactivating {}...", ConfigNodeConstant.GLOBAL_NAME);
    registerManager.deregisterAll();
    JMXService.deregisterMBean(mbeanName);
    if (configManager != null) {
      configManager.close();
    }
    LOGGER.info("{} is deactivated.", ConfigNodeConstant.GLOBAL_NAME);
  }
Deactivating {@link ConfigNode} internal services.

@throws IOException if close {@link ConfigNode} failed.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/service/ConfigNode.java