It shouldn't dry out if you microwave it, but if you prefer to heat it back up gently, then warm it up in a skillet with a couple of tablespoons of pasta water (if you kept any from cooking the spaghetti) or just tap water if not. Give it 3 to 4 minutes over a medium heat and don't let it boil.