If you’re are creating a bézier shape, but accidently deselect the paths before you close the endpoints, all is not lost. With the bézier Pen tool selected, move it over the point on your path that you wish to add a new point to. The Pen will show a slash (/) next to it. Click on that anchor point to carry on adding new points to the path.