A refrigeration cycle apparatus comprising: an evaporator that retains liquid-phase refrigerant and that evaporates the liquid-phase refrigerant to generate gas-phase refrigerant; a turbo compressor that compresses the gas-phase refrigerant generated in the evaporator ; a condenser that condenses the gas-phase refrigerant compressed by the turbo compressor to generate liquid-phase refrigerant and that retains the liquid-phase refrigerant generated in the condenser ; a first flow passage that is connected to a first part of the evaporator ; a second flow passage that is connected to a second part of the evaporator ; a third flow passage that is connected to a first part of the condenser ; a fourth flow passage that is connected to a second part of the condenser ; a switching mechanism that includes a valve and that switches a state of interconnection among the first flow passage , the second flow passage , the third flow passage , and the fourth flow passage to one connection state by use of the valve, the one connection state being selected from a plurality of connection states including a first connection state in which the first flow passage and the fourth flow passage are connected to each other, and the second flow passage and the third flow passage are connected to each other; a first pump that is disposed on the second flow passage and that supplies the liquid-phase refrigerant retained in the evaporator toward the switching mechanism ; and a second pump that is disposed on the fourth flow passage and that supplies the liquid-phase refrigerant retained in the condenser toward the switching mechanism , characterized in that the refrigeration cycle apparatus further comprises: a controller that controls the switching mechanism to set the state of interconnection among the first flow passage , the second flow passage , the third flow passage , and the fourth flow passage to the first connection state when the turbo compressor is in a surge state or a choke state. an evaporator that retains liquid-phase refrigerant and that evaporates the liquid-phase refrigerant to generate gas-phase refrigerant; a turbo compressor that compresses the gas-phase refrigerant generated in the evaporator ; a condenser that condenses the gas-phase refrigerant compressed by the turbo compressor to generate liquid-phase refrigerant and that retains the liquid-phase refrigerant generated in the condenser ; a first flow passage that is connected to a first part of the evaporator ; a second flow passage that is connected to a second part of the evaporator ; a third flow passage that is connected to a first part of the condenser ; a fourth flow passage that is connected to a second part of the condenser ; a switching mechanism that includes a valve and that switches a state of interconnection among the first flow passage , the second flow passage , the third flow passage , and the fourth flow passage to one connection state by use of the valve, the one connection state being selected from a plurality of connection states including a first connection state in which the first flow passage and the fourth flow passage are connected to each other, and the second flow passage and the third flow passage are connected to each other; a first pump that is disposed on the second flow passage and that supplies the liquid-phase refrigerant retained in the evaporator toward the switching mechanism ; and a second pump that is disposed on the fourth flow passage and that supplies the liquid-phase refrigerant retained in the condenser toward the switching mechanism , characterized in that the refrigeration cycle apparatus further comprises: a controller that controls the switching mechanism to set the state of interconnection among the first flow passage , the second flow passage , the third flow passage , and the fourth flow passage to the first connection state when the turbo compressor is in a surge state or a choke state. <EOS>