At this point, Stan Lee popping up for just a few seconds in a cameo to entertain fans has become an indispensable part of the Marvel Cinematic Universe, and it’s hard to imagine our favorite superhero movies without the appearance of our beloved father figure.
However, with Lee's passing in November last year, there were concerns that his Captain Marvel cameo would be the last time we get to see him. Fortunately, that's not going to be the case. Marvel Studios president Kevin Feige confirmed in a recent interview that Lee had filmed several more appearances before his death, one of which is going to be featured in the highly-anticipated Avengers: Endgame. When inquired about Spider-Man: Far From Home, all Feige said was “We’ll see.”
Warning: The next part contains minor spoilers about Stan Lee's cameo in Captain Marvel. If you haven’t seen the movie, it is advised that you turn away now.
In Captain Marvel, Lee actually portrayed… himself. In a scene that takes place on a train, we can see Lee holding the script to Mallrats – a 1995 movie from Kevin Smith in which he played as himself. Carol Danvers (Brie Larson) mistakes him for a disguised Skrull for a moment, but then acknowledges him with a faint smile before moving on to investigate the next suspect.
Additionally, the signature Marvel introduction at the beginning of the movie is also modified to pay further tribute to Lee. Instead of the heroes like we normally see, all the footages are of the various cameos that he had made over the years. The introduction ends with a simple sentence: "Thank you Stan."
According to Feige, this idea came shortly after Lee’s passing. He said that they wanted to honor the legendary writer in his death the same way they did when he was still alive: through the movies, and they wanted something “touching and rousing up front” instead of a “depressing” note at the end.