Use ANY goal to the End of a Sequence to remove contacts from your campaign.
Sequence needs to be connected to End Goal
Create an End Goal to remove contacts when they opts out of all email marketing
Use an tag goal to remove contacts from the campaign if they opt-out. To apply the tag go to Marketing > Setting > Email Defaults > Click "Actions" next to "When Someone Opts Out of All Email Marketing"