The Han emperors worked to keep the economy stable primarily by:
bought grain, stored it, and resold it during times of low harvest.
This practice helped to control grain prices and ensure food supply during periods of scarcity, which was crucial for maintaining social stability and preventing unrest among the population.