At the end of "Black Panther: Wakanda Forever," Shuri defeats Namor and has mercy on him, offering to let him yield. He does so, and the two fly back to their warriors together, demonstrating the truce. Later, Namor reveals to Namora (Mabel Cadena) that he believes the surface world will come for Wakanda, thanks to their vibranium, and when that happens, Wakanda will look to Talokan as an ally.
This is a pretty good outcome for Namor as this is basically what he wanted from the beginning. Namor originally went to war with Wakanda because they refused to turn over the young scientist who built the vibranium-detecting vessel, Riri Williams (Dominque Thorne), nor agree to go to war with him against the surface world that's actively searching for the vibranium that powers both of their nations. Of course, Wakanda was not ready to immediately wage war on all the non-vibranium-producing countries of the world, but this truce signifies that they may be willing to align with Talokan in the future, should they ever find themselves under attack.
According to Time Magazine, Namor will be returning, although they seem to be basing this more on the position that Namor finds himself in at the end of the movie rather than any official announcement from Marvel. However, it is true that Namor is set up at the end of the film to be an ongoing character in the MCU, but will it be as a villain or as a hero?