Has it ever been done, or is anyone working on, redeployable solar arrays? In other words, a solar cell array that can be deployed in space, used for a period, and then folded up again into the ship, to be reused later. Outside of the SpaceX paradigm of a reusable lift and land vehicle it's hard to think of why it might be done. Perhaps some vehicle had too much acceleration for it's delicate arrays, and so it folded them just during course corrections.
The Lunokhod 1 had a redeploy-able solar "array"-- that being said it was more of a close-able lid with panels placed on the bottom of it. It was both for maintaining the internal temperature of the rover during the lunar dark periods and could be unfolded as needed to recharge its batteries.
The vehicle was powered by batteries which were recharged during the lunar day by a solar cell array mounted on the underside of the lid. To be able to work in a vacuum, special fluoride-based lubricant was used for the mechanical parts, and the electric motors (one in each wheel hub) were enclosed in pressurized containers. During the lunar nights, the lid was closed, and a polonium-210 radioisotope heater unit kept the internal components at operating temperature.
Looks like special lubricants were designed to allow for the mechanical pieces to function in vacuum during MET, so I thought this was interesting enough to post as a small answer. Seems like they had to at least have design considerations for the "redeployability" of the "solar array" (lid).
(Citation from wikipedia extended references).
Yes, kind of. One of the ISS solar panels was actually rolled up so they could move it to a different part of the station. The P6 truss and solar array was relocated during STS-120. During some of the movement they actually folded the panels back up to the same configuration that they were as launched. This caused a few issues, however, and is generally not recommended.
To my knowledge, it hasn't been done anywhere else, simply because there isn't a reason to. Small thrusts are most effective once you are in space. The exceptions would be for landing missions, which tend to have a cruise stage that uses solar panels and is destroyed, or a sample return mission, which has only been done from the Moon and could rely on battery power. I don't think either stowed the solar panels used.