code: public void cancelForward() throws WorkspaceApiException {
          try {
              ApiSuccessResponse response = this.voiceApi.cancelForward(null);
              throwIfNotOk("cancelForward", response);
          } catch (ApiException e) {
              throw new WorkspaceApiException("cancelForward failed.", e);
          }
      }
docs: Cancel call forwarding for the current agent.