There doesn’t currently seem to be a way to unarchive a query. Since this could be selected accidentally, it seems like a feature worth adding. Otherwise you have to copy and paste the query to a new redash query.
You can go to admin pages at <redash_url>/admin. You can find queries and dashboards and unarchived them. Powerful side of admin