One of the original Captain Marvel's powers was cosmic awareness. Mar-vell had the literal ability to sense things happening in the universe. It was a power that usually made him perceptive on a subliminal level BUT he could expand his awareness to detect the location of things and
individuals in space.
I may be wrong but we see Danvers leading the Skrull expedition to their new homeworld at the end of her movie. Yes, she had the spatial coordinates for their new planet but it would be necessary to 'know' what obstacles are directly ahead of her flight plan in order to avoid collisions. For this reason, I think Carol also has cosmic awareness.
If true, it would not surprise me if she uses her power to locate Stark, fly to him (yes she can fly
that fast), rescue him and return him back to Earth. Just a guess but it is a thought I have had since seeing the very first
Avengers: Endgame trailer last year. After all, he must rejoin the group somehow, right?
Then again, I will not be disappointed if I guessed wrong about her power and how Stark ends up safe-and-sound.