We have no idea yet if Captain Marvel 2 will be set in the 23-year gap between Captain Marvel and Avengers: Endgame, or if it will be set post-Endgame, but either way, this particular narrative isn’t over.
Mar-Vell, had defected from the Kree empire to help the Skrulls find a new home.
After her powers fully awakened, Carol sent Yon-Rogg and the rest of the Kree operatives who had come to Earth packing, and she left to help the Skrulls find a new planet to live on.
Carol Danvers, who had spent years believing she was Kree and fighting for Starforce as Vers, eventually learned the truth from Talos and discovered how her mentor, Dr. Wendy Lawson, a.k.a.