If you want to undo the pull request so we can follow thesesteps-
List of activities all pull request -
git reflog
After running the above command this output will occur.
then run reset command-
git reset --hard 6954dff92
where 6954dff92 merging id, and your code updated based on the merge id.
Thanks, I hope it will be help, please like and support.