I made a shape and deleted it by mistake - how can I get it back without undoing?

Use the direct selection tool to select an anchor point on the inside edge of the empty shape and delete - the shape should fill in.