I was talking about Mars, not the sun.
The solar wind is what blew away the water and atmosphere on Mars.
Because Mars no longer has a magnetic field.
The escape velocity just determines how easy it is for the solar wind to do that.