As long as you have a Sweep object in the scene that uses the deleted shape as a custom cross-section, you can use Extract to restore the shape to the scene. The Merge File dialog for the Sweep modifier appears when you click the Merge From File button.