Emergency bypass control