I would go with "motion blur trails", or "motion blur light trails".
Light trails in general are the lines produced when an object moves during a long exposure — see How to shoot light trail photos with iPhone?How to shoot light trail photos with iPhone? and also When should you use a normal flash vs a second-curtain flash?When should you use a normal flash vs a second-curtain flash?
In this case, of course, the object that moves is the camera, which from a relative point of view is basically the same as holding the camera very still and shaking the world. If it's important to distinguish, you could say camera movement light trails.
Sometimes, rather than photographing something like cars with headlights at night, light trails are made by intentionally moving light sources during the exposure — this is called "light paintinglight painting", and here you're moving the camera during the exposure for a similar effect, so you could also consider this a subset of that. (It's even given as an example in this answerthis answer.) In your examples, the exact pattern in which you moved the camera is shown in the trail of the lights — a horseshoe shape in the first example, and an inverted-L shape in the second.
It's not "bokeh", which isn't a general word for blur (or even the blurry light discs that it is often associated with). See What is bokeh, exactly?What is bokeh, exactly? for both technical description and a diagram I drewa diagram I drew showing the relationship between different kinds of blur.