Upon clicking ‘leave course’ from the ‘options’ menu, you will be removed as a course member. Note that all projects you own within the course will be saved to your personal account and your project members will still be able to access them.