The move was made as supporters of imprisoned former premier Imran Khan geared up for a protest in the capital.
Ollie Pope is likely to take over the wicketkeeping role in the first Test against New Zealand after Cox broke his thumb in the nets.