I think from memory, I read somewhere that if you take the front seat off, probe up underneath near the battery/ECU
and use a wire coat hanger or a long screwdriver or something you can trigger the latch
got the seat off what i had to do was push the plastic feet in that hold the seat down in the front back and pull up on the seat until both of those were out of the little bracket they fit in to and then i could reach with a 10mm wrench and loosen the front bolt on the locking bracket. once i did that i was able to rotate the seat and get to the thing that slides to release the pegs
Whenever I take the rear off, I undo the two screws holding the locking mechanism to the frame instead of disconnecting the cable, it's just as easy and there is absolutelty no way you can lock the seat down by mistake
Another way is to remove the push-pull pins in the undertail. You can then lift up the rear fairing enough to slide a flat-head screwdriver in and push the locking mechanism and pop the seat off. I agonized over that one for about a day after doing some work on the bike and had to call the dealer's mechanic.