Or if you want to do it after the fact, simply create a new cylinder with the same segments, unwrap, then snap the verts of this object to the original. Or perhaps, apply an edit poly to the bent tube, snap it to a cylinder, unwrap, then remove the edit modifier - it should pop back into shape. Maybe.