Place 2-3 ears of corn on top of the trivet. Stack 2-3 more ears of corn on top of those, turned the opposite direction.
Place the lid on the instant pot and turn the valve to "sealing".
Press the "manual" button and set timer for 2 minutes. Then walk away and let the Instant Pot do it's magic!
As soon as it is finished cooking, press the cancel button to turn off the heat and do a "quick release" on the pressure. Remove the lid after all the pressure has been released.
Use tongs to remove hot corn from Instant Pot. Slather with butter, salt, and pepper and enjoy.
Notes
In a pinch, you can substitute a metal lid of a large jar in place of the trivet. A stainless steel cookie cutter or small bowl will also do the trick. Whatever you use, you want to be sure that it’s made of food-grade heat resistant materials.