If you deprive him of all means to enter the city: no seige engines left/ no units suitable of using them left, the AI accepts your Superiority and resigns.