Hi Ayoub,
If the AP is not answering to ping or SSH, then it is the problem from the AP side and not from the ZD license.
If it is a license issue, then it will show offline on the controller, but the AP will still have the IP address and should be responding to ping and SSH.
You might have to check on the AP side at the time of issue.