After that, Zogusho revived with FUJIWARA no Oguromaro appointed the head when the removal of capital to Heiankyo took place; however, it was abolished when 'Tokusei dispute' broke out between FUJIWARA no Otsugu and SUGANO no Mamichi in 805 and the construction of Heiankyo was canceled.
その後、平安京遷都時に藤原小黒麻呂を長官とする造宮職が復活したが、延暦24年（805年）の藤原緒嗣と菅野真道による「徳政論争」によって平安京造営が中止された際に廃止された。