The emergency shutoff device is provided with a casing (21) in which inflow ports (22) through which control oil flows into a space (A1) provided therein and a plurality of outflow ports (23) through which the control oil flows outside of the space (A1) are formed; and a switching unit (24) configured to slide along an inner circumferential surface of the casing (21) in which the space (A1) is formed, to change its position relative to the plurality of outflow ports (23), and thus to switch a circulation state of the control oil in the space (A1). The switching unit (24) switches the circulation state between the first circulation state in which the control oil is circulated from a first inflow port (221) to a first outflow port (231) and the third circulation state in which an open and closed state of a test outflow port (236) is switched while the control oil is being circulated from the first inflow port (221) to the first outflow port (231).