Original sentence: During the Battle of the Coral Sea beginning on 8 May, when the Lexington and the USS Yorktown  diverged to avoid enemy attacks, the Phelps stayed with the Yorktown.The Phelps emerged from the battle with no casualties, but when the Lexington was mortally wounded, she helped to prevent enemy capture of the carrier by administering the coup de grace and finished her off with with five torpedoes
Edited sentence: During the Battle of the Coral Sea beginning on 8 May, when the Lexington and the USS Yorktown diverged to avoid enemy attacks, the Phelps stayed with the Yorktown.The Phelps emerged from the battle with no casualties, but when the Lexington was mortally wounded, she helped to prevent enemy capture of the carrier by administering the coup de grace and finished her off with five torpedoes