Wash the apples, pears, and oranges. No need to peel the fruit.
Quarter the fruit and place it into the instant pot. Add the cranberries, cinnamon sticks, star anise, nutmeg, maple syrup, and enough water to completely cover the fruit.
Close the lid and turn the valve to seal, then cook on high pressure for 15 minutes. It will take about 20 minutes for the pressure to rise and start the cooking process.
Once the timer goes off, allow the pressure to release naturally, which will take 15-20 minutes.
Remove the lid and take out the oranges, cinnamon sticks, nutmeg, and star anise. Mash the remaining fruit with a potato masher.
Strain the fruit and liquid through a fine-mesh sieve. Use the back of a wooden spoon to press the rest of the juice out of the soft fruit pulp. Serve warm or chilled.