Yes!  When deleting a query, it is deactivated in the system.  Reach out to your NetSuite administrator to reactivate a “deleted” query