However you’re a little late to the party, there are already several threads with the same issue and solution. Here are the first two I found from a quick search:
I think you mean un-installing, at least that’s what the command does. It also removes it’s dependencies which would include fcitx5 which is presumably why it worked (the package you removed is just a gui to configure it).