He retained the captaincy in limited-overs form of the game and led the team in the 2011 World Cup. In May 2011, having led Pakistan in 34 ODIs, Afridi was replaced as captain. Later that month he announced his conditional retirement from international cricket in protest against his treatment by the PCB. However, in October he reversed his decision.