Senegal squandered a two-goal lead against Belgium before losing 3-2 in extra time in the round of 32.
"I will come back to tell you a few words regarding the elimination … but I announce today that, as long as this technical staff remains in place, I'll be taking a break from the national team," the 27-year-old posted on social media.
Senegal looked set to progress after Habib Diarra and Ismaila Sarr put them ahead.

Gueye, who scored two goals at the tournament, was replaced shortly after the hour mark, with coach Pape Thiaw sending on Lamine Camara as Senegal sought to protect their advantage.
However, Belgium struck twice in the final four minutes through Romelu Lukaku and Youri Tielemans to send the match into extra time.
Belgium then completed the turnaround when Tielemans converted a penalty awarded after a VAR review involving Senegal substitute Camara.
World Cup 2026
The 2026 World Cup will be held from June 11th to July 19th in the United States, Canada and Mexico. The tournament will feature 48 national teams and will be played in 16 modern stadiums.
Match schedule and times | Knockout draw | England at the World Cup | Team rosters at the World Cup | How to watch the World Cup | Predictions and odds | Team of the Group Stage
