McClellan is restored to full command