Scrub yams. peel and chop into chunks and place them in a bowl of cold water. Heat butter, orange juice, coconut sugar, ginger, salt, cinnamon, and nutmeg until butter is melted
Drain yams and place in the Instant Pot bowl, pour liquid mixture over it. Cover Instant Pot with lid and set the Pressure Release to Sealing. Select the Pressure Cook or Manual setting and set the cooking time for 4 minutes at high pressure.
Mix cornstarch, water, maple syrup, and vanilla in a bowl. Carefully Quick release by moving the Pressure Release to ''Venting' to release steam. Open the lid.
Turn Instant Pot to off, Then press the Saute setting. Gently stir in the cornstarch mixture and cook until bubbly and thick. Transfer to a serving dish.