You can deactivate your courses without changing permissions:
When you deactivate a course, it will become completely hidden to any learners and cannot be accessed or entered by any learner, even if they did enroll to it in the past.
To re-activate the course click Activate in the toolbar.
Note: You can deactivate and activate a course as often as you want.