It broke out in the when the British military forces had first occupied the city during the American Revolutionary War . It broke out in the early days of the military occupation of the city by British forces during the American Revolutionary War .