is there a way to recover a map you accidently refreshe
Nope, sorry. I would recommend using the Arcana version of this generator (https://watabou.github.io/perilous-shores/). It's identical to the itch.io version, but it doesn't reset the map after refreshing the page (+ it's more convenient to use permalinks there).