You'll probably lose the trip data and average consumption stuff but I have fitted and un-fitted the cables many times and have mostly never lost anything because I press down on the battery cables as I remove the bolt, slip the bolt through the new jumper cable and refit it without losing contact on the battery cables. Fiddly but possible if you plan and prepare properly!
If you do manage to disconnect totally then you may need to reset the throttle position sensor afterwards. Ignition on but engine OFF, turn throttle twistgrip slowly to fully open position, hold there for a couple of seconds, close throttle, repeat twice, ignition off, job done.
Brian (who says it's only 12volts but it can still bite so use a firm hand, or at least finger
)