Hold onto the edge of the door and lift it down and out of the top pivot on the end of the door. Some pivots have a spring; if you press on the pivot, it should release the door.
Swing the door back and away from the bracket.
Lift the door out of the top pivot near the door frame.
Lift the door up and out of the bottom pivot.
Remove the second bifold door by lifting it out of both the top and bottom pivots. Set both doors flat on the floor.
Unscrew the top and bottom brackets and tracks from the door opening.
Loosen and remove the hinges from the bifold closet doors with a screwdriver.
Loosen the screws on the door pulls with a screwdriver.