Before students can see your course, it must be published and the current term must have begun. To allow access to a course outside of the term, the course must be published and you must have set different course availability dates. (See How do I change the start and end dates for a course? for more information on changing course dates.)
The sidebar in your course will include an Unpublished button and a Publish button if your course is not yet published. Click the Publish button to reveal a message at the top of your screen to confirm the publishing of your course.
If you need to unpublish your course, click the Unpublish button in the sidebar. Once your course contains any graded submissions, you can no longer unpublish your course.