until cooked through and no longer pink. This will take about 5 minutes. Remove the beef from the Instant Pot to drain the grease. After you remove the beef, add the spaghetti to the pot.