Once the ham is covered in its delicious marinade use cocktail sticks to hold pineapple slices in place, then loosely wrap the foil around the ham but careful you don’t prick yourself on the cocktail sticks.
Place the foil covered ham onto the trivet. Then place the lid on the instant pot. Set the valve to sealing and then cook for 27 minutes followed by a 10 minute natural pressure release.
When pressure has been released, use the trivet handles to easily remove the ham from the instant pot, then remove the foil, cocktail sticks and pineapple and allow the ham to rest for 5 minutes.