Select Saute setting on Instant Pot. Add beef, onion, and garlic and cook for 8 minutes, until beef is browned. Use meat chopper or wooden spoon to break up meat as it is browning. Once complete, press Cancel.
Add sauce, water, and wine, stir until combined, then add spaghetti and stir.
Using Manual setting, set for 8 minutes, then quick release.
Stir In milk and pepper, cover, and allow to rest for 5 minutes to thicken. Serve and sprinkle with parmesan cheese.
Notes
*If using lean ground beef, drain some of the fat (or soak up with a paper towel) before step 2.