This article explains how to remove a learner from a group. Removing a learner from a group will remove their access to courses in the group.
Click Community and select Groups.
Select a group.
Locate the learner and click on the x. Changes are saved automatically.