@Override
  protected int submitUnassignProcedure(MasterProcedureEnv env,
    Consumer<TransitRegionStateProcedure> submit) {
    return env.getAssignmentManager().submitUnassignProcedureForDisablingTable(tableName, submit);
  }
Procedure for closing all regions for a table.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/CloseTableRegionsProcedure.java