To return a stashed entry to your script, simply drag it from the stash and drop it where you want it to go.