sentence1:  Vigilant  was generally inactive while the British occupied Philadelphia , but she sailed to New York City when the British evacuated the city in June 1778 .
sentence2:  Vigilant  was usually inactive , while the British occupied New York City , but she sailed to Philadelphia when the British evacuated the city in June 1778 .