5 step to do what you want if you made the pull request from a forked repository:
- reopen the pull request
- checkout to the branch which you made the pull request
- reset commit to the last master commit(that means remove all you new code)
- git push --force
- delete your forked repository which made the pull request
And everything is done, good luck!