Complex sentence: Rodgers then took "Mercury" to Newfoundland in June 1798, and after returning to Portsmouth for a refit in early 1799, went back there in 1799.
Split into simpler sentences: Rodgers then took "Mercury" to Newfoundland in June 1798. After returning to Portsmouth for a refit in early 1799, she went back there in 1799.