OK yet another person joining the swollen-battery club then.
Its happening to a lot of people recently (a quick search on here yields that). All 3 of mine did that 7 months after purchase.
I was using the least swollen as mine (as i had no other batteries and no way of buying new ones). I released forward stick so the drone braked and that force alone caused it to flash up a warning about battery not being latched so i returned it to the boat ASAP. Its easily possible for the full thing to release during braking, turbulence and so on.
Its not safe to use, it swells up more as it heats up and can easily come loose and disconnect in flight unfortunately.
The M2 batteries seem to die a LOT faster than
M1 batteries even when operated within the environmental conditions DJI state.