Usually, it works like the recycle bin; the window menu should provide the option to 'restore' the file. Doing so puts it back in it's original location.