The kings abandoned the capital in 1524 (described early in the section). The dispersal occurred later, after the final surrender - the sentence was in the wrong place and I've moved it. I also added a little about the reasons for returning to surrender.    
 #:::*Presumably a few inhabitants stayed on at the (mostly) abandoned city. The sources aren't clear on this point, I suppose that none of the primary sources describes this in detail - certainly none that I have access to.  
 #