Stop some folder sync using the console

I need to unsync some heavy folders by ssh, thus I need an option to this in a console. This seems a simple task, but I could not found an option to do so.

Is this possible?