All-rounder Mohammad Nabi quit as captain of Afghanistan's Twenty20 team on Friday, barely an hour after their winless W