Simple solution. Port the city being attacked then holiday mode. Got no ports then have someone else capture the city for you