The government repeatedly imposed curbs on gasoline and diesel exports to rein in rising fuel prices and tackle shortages.