Minecraft wiki entry for Raid, associated text: When a wave captain is killed, other illagers in the raid try to pick up the banner dropped by the previous leader; the illager that retrieves the banner becomes the new wave captain. ‌[Java Edition only]