How to avoid that moderator is ejected by participants

I want to cancel the function that the moderator can be ejected from meeting by participants

Are you talking about meet.jit.si? If so, everybody is moderator on it.