If you delete a doc by accident and need to restore it from trash, you'll see the following message:

Click the Undelete doc to restore the doc. You can also restore from your Google Drive's Trash.

Did this answer your question?