Deleting a *QUERY* will not delete any information from your database
(although deleting records from a query will, naturally, delete the
records from the underlying table - is this what you mean?); you can
simply recreate the Query in the grid, pointing at the same tables
with the same relationships, and so on.
Deleted objects, whether table records or Query definitions, are just
gone. There is no "undelete".