code: public static void uninstall() {
          synchronized (log()) {
              if (cInstalled) {
                  cInstalled = false;
                  System.setOut(cOriginalOut);
                  System.setErr(cOriginalErr);
                  cOriginalOut = null;
                  cOriginalErr = null;
                  cSystemOut = null;
                  cSystemErr = null;
              }
          }
      }
docs: Uninstalls by restoring System.out and System.err.