Scooter can no longer be turned off

Hello together. My scooter starts off great but it can’t be switched off anymore. Neither with the ignition key nor with the switch on the steering wheel. Can this be on the CDI? Or what else could it be? Thanks in advance.