Throttle not snapping shut

After my off on the R1 (pic of the damage below) I've put a new handlebar on and hooked everything back up but now the throttle does not snap shut but it does close by itself by veeeery slowly and therefore I assume it won't pass scrutineering.
Could I have kinked the cable when the handlebar bent? Any thoughts on a solution, I don't really want to remove the cables, but I may have to
Could I have kinked the cable when the handlebar bent? Any thoughts on a solution, I don't really want to remove the cables, but I may have to
