Hello Claudio!
Answering your first question, yes, if the Wazuh master node goes down, the connected agents should notice that they cannot reach their destination and should start reporting to the Wazuh worker nodes in their cluster.
If the Wazuh manager service goes down on the Master node, while it is down it will not send any alerts. It should generate the logs that caused it to go down, but after the service is down it will not generate anything. Once it recovers and is operational again it should resume its operation at the exact point where it left off for most integrations and features such as Syslog.
I hope this has been helpful.
Regards,
Alfonso Ruiz-Bravo