A key issue for decentralised markets like FX is how the market responds to extreme situations. Using data on FX transactions with a precise identification of Algorithmic trading (AT), we find that AT, broadly defined, appears to have contributed to the deterioration of market quality following the removal of the cap on the Swiss franc on 15 January 2015 by withdrawing liquidity and generating uninformative volatility. We also find that the Swiss National Bank, after initially stepping aside, played an important role, though more by signalling rather than trading. This perhaps explains why human trading – that could most easily interpret those signals – was important in stabilising the market.