In 1777 Andrew Allen returned to Philadelphia with General Howe's army, but his stay lasted only as long as their occupation, and he returned with them to New York when the British evacuated the city in 1778.