During guild events, you cannot make changes to your guild until the event is over. The option is locked to keep the event fair and to ensure all guild members are rewarded correctly.
Once the event is over, you will be able to leave or join guilds as usual within the game by selecting the 'Leave' option at the bottom of your guild menu.
For more information, see the Guilds article.