The aim of the invention is to prevent an unwanted conduction of a flow of gas inside a channel that connects an inner space of an enclosed switchgear (1) to another space. To this end, the channel is closed by means of a closing mechanism according to an increase in pressure in the inner space.