Summary:
While at war with a city-state, your influence will remain negative and they certainly won't give you any stuff. However, unless you're at permanent war or they're allied with one of your enemies a city-state will always accept a peace deal.