#"Le Chatelier's principle"# holds that when a system at equilibrium is subject to external perturbation, the equilibrium will move so as to offset the external perturbation (as I have mentioned before #"offset "!=" counteract"#).
See this [old answer.](https://socratic.org/questions/what-is-le-chatelier-s-principle-for-systems-in-equilibrium).
And thus in the proposed scenario:
#A(g)rightleftharpoonsB(g)#,
if we remove #B# (by condensation for instance), the equilibrium will be driven to the right. Note that the equilibrium merely re-establishes itself by so moving. Chemists, and chemical engineers are good at manipulating these sorts of equilibria, so that they get good turnovers.