code: public void removeAccessory(HomekitAccessory accessory) {
      this.registry.remove(accessory);
      logger.info("Removed accessory " + accessory.getLabel());
      if (started) {
        registry.reset();
        webHandler.resetConnections();
      }
    }
docs: Removes an accessory from being handled or advertised by this root. Any existing Homekit
  connections will be terminated to allow the clients to reconnect and see the updated accessory
  list.
  
  @param accessory accessory to cease advertising and handling