What will happen if master goes down in peer to peer replication?
In a Peer-To-Peer replication topology all the nodes are master. So, there is no concept of just ONE master.

The image in your question seems to be made up and wrong. See original doc.

Read up more on - Peer-to-Peer - Transactional Replication