Z to select X to cancel. Don't die. Click the flag twice.
Thanks to @pococikapusta. this battle Is possible.