the viceroy samano fled the city and the viceroyalty stopped being productive