Question: I move my laptop computer on the bed, and between the bed and the desk often, with some USB devices plugged in. I ended up breaking many USB cables by rotating them many times.

So, as a countermeasure, I began to buy long, flat cables that is difficult to break this way, and prefer Bluetooth versions if available. But not every device comes with a replaceable cable. Is there an easy way to rotate them back, or prevent them being rotated in the first place? Note that they tend to "remember" their shape to some degree if not moved for long enough.

Edit: I don't really care much about the lifespan of such devices, as they are usually small and cheap (that doesn't even have a replaceable cable). But there is much hassle to replace them. I don't want a way to deal with this situation that takes much more time accumulated...

Answer: 
Computer cable preparation and maintenance

When the cables are new, use a permanent felt-tip marker to mark the connector, cable relief, and a bit of the cable with a narrow continuous stripe. Mark both ends of the cable in this way.

As soon as you notice the mis-match of the line on the cable, you will also see how much and in what direction you must un-twist the connector to re-align the cable and connector.

[![cable alignment index](https://i.stack.imgur.com/mTyjZm.png)](https://i.stack.imgur.com/mTyjZ.png)

Here's another thing you can do. Before you mark and use your cables, put a tiny drop of Krazy-Glue™ where the cable goes into the sleeve-like cable relief and also where the cable relief goes into the connector. Let it cure for several hours before you use it. This will greatly strengthen your connectors and extend their useful life.
Once you break the shielding surrounding all the wires it's very difficult to repair. It breaks well before the wires generally. Just try to untwist gently, daily and they'll last a little longer