In your Instant Pot, press the saute button and saute onions and garlic in oil for 3 minutes. Add the carrots, celery, and mushrooms. Saute for 4 minutes. Add the salt, thyme, sage, and black pepper. Saute for 30 seconds more. Then add the rice and saute for 1 minute. Turn Instant Pot off and add the vegetable broth. Stir until everything is combined. Add the bay leaves.