If a broker close down, isn't the shares in our demat account safe?

I know there is investor protector fund in India to safeguard investors in the event of broker closing down. My question is, even in this case, isn’t the shares in our demat account safe or should the investor worry that the broker will sell the shares in demat without permission and take the money when running away ? If this is the case, is there anyway to protect the demat account , so only with permission of investor the shares can be sold ?

My question is not regard to any specific broker , just a general question that came to my mind when reading some questions here.