Yes, if you accidentally hit the ReFile button when you do not want to do a refile, simply close out of that open return. You should then be able to "delete" the return that is called "ReFile of XXX XXXXX" so you do not mistakenly open it again and do the actual ReFile.
If you cannot delete it right away, you may have to open and close another return so the ReFile is not the last one worked on.