You shouldn’t leave pegs on the line because continued exposure to the elements weakens them and causes them to become brittle. However, if you have weatherproof pins, they might hold up better.
If we’re honest, we leave our metal pins on the umbrella line outside all year round, and they hold up fine!