To create a closed path with the Paintbrush tool (B) or the Pencil tool (N), start drawing, then click-and-hold the Option key (PC: Alt key). Continue drawing, and when you're ready to have the path closed for you, let go of the tool. Once the path has closed, then release the Option key (PC: Alt key).
|