Command of the fleet was given to James, Duke of York with Sandwich as his deputy and Monck took over his administrative duties at the Admiralty. He also gained a great deal of popularity for remaining in London throughout the 1665 Great Plague when most of the government fled to Oxford. Monck and Prince Rupert shared command during the 1666 campaign; the Four Days' Battle in June was a Dutch victory, offset by English success at the St. James's Day Battle in July. In September he was recalled to help maintain order in the chaos created by the Great Fire of London.