Just hold the filter cartridge firmly and pull it out.
A finger grip on the top surface sometimes helps.
Be aware that a small number of very deep lenses can prevent the cartridge from being pulled out.
Always use the fitment check tool prior to mounting a lens, if there is any substantially long rear element. Be aware that rear elements often move as the focus is adjusted.