You cannot unpublish a course once it is published. If you are a paid Versal user, you can set the course view to private in order to hide it.
You can remove a course completely by deleting it. This is a permanent action and cannot be reversed. You will lose all course content. In the course list, select the checkbox next to the course you want to delete. The delete button will become active. Select the button to delete the course. You may select more than one course at a time.