On 11 September 2011, Roberto Carlos scored his fourth goal in a 2–1 win over Volga Nizhny Novgorod. As of his first season for Anzhi, Roberto Carlos made 28 appearances and scored five goals. On 30 September, he became the caretaker coach of Anzhi following the sacking of Gadzhi Gadzhiyev, before Andrei Gordeyev assumed the role also in a caretaker capacity. Roberto Carlos announced his plans to retire at the end of 2012, but continued to work behind the scenes at Anzhi. In August 2012, Anzhi coach Guus Hiddink confirmed his retirement at a news conference in Moscow, also stating, "Roberto was a world class football player. Every master's career ends at some point."