We have added a confirmation pop-up to prevent the accidental transfer of the guild leadership. If you have agreed (intentionally or not) to make another player the leader, this will be considered a conscious decision on your part. Unfortunately, we cannot give the leadership back to you, as we cannot interfere with the interactions between players. You should ask that player to do so, or wait for the leadership to change automatically if the current leader is inactive.