I swapped the cables and the same thing happens. The cigarette lighter power also goes off so I'm assuming it's just a normal feature of the Mazda2.
Hah I'd overlooked that.
Just one of those you get in and do without thinking about how it works. I guess you have to be a real saddo (like me) to actually analyse it, haha.