Yes, you can overwrite the EA. It is up to you if you want to close out any open positions.
Alan Northam
The Academy’s free courses take you from a demo account to your first Expert Advisor, taught by the traders who answer here.