public Object getMBeanObject(ObjectName objectName) {
    return localGemFireMBean.get(objectName);
  }
This method will unregister the MBean from GemFire Domain
geode-core/src/main/java/org/apache/geode/management/internal/MBeanJMXAdapter.java