Tromp's death during the battle of Scheveningen ended the war, and De Ruyter declined an emphatic offer from Johan de Witt to assume supreme command because he considered himself 'unfit' and also feared that it would bring him into conflict with Witte de With and Johan Evertsen, both of whom had more seniority. Later, De Ruyter and De Witt became friends. Colonel Jacob van Wassenaer Obdam then became the new Dutch supreme commander of the confederate fleet. De Ruyter at first refused to become Obdam's naval 'counsellor and assistant', but later was persuaded by De Witt to accept and remained in the service of the Dutch navy in that post until he accepted an offer from the Admiralty of Amsterdam to become their vice-admiral on 2 March 1654. He relocated with his family to that city in 1655.