this flotilla , under the command of captain bernard warburton-lee , had already detached from the renown during its pursuit of the scharnhorst and gneisenau , being ordered to guard the entrance to the vestfjord .