Who holds the copyright to submitted/published manuscripts?

Unless otherwise agreed via a written agreement, the author retains the copyright to their manuscript.