First, go to the Content -> Trash page.
Then, click on the restore button:
From here, optionally, you can also restore deleted modules, sections, and lessons inside of the course:
Finally, click on Confirm button, and your course will be restored.
Search for any help questions or topics.