You can do this from your course portal. At the top right you will find Quick Actions, where you can select Withdraw from course from the drop-down.