That's why I fish long-format pasta out of the water with tongs, and transfer it to the skillet in which the sauce was cooked. For short-format, I use a spider.
The water in the pot keeps on boiling, ready to be used. No fishing some out with a cup, and letting it get cold.