NX Studio (and possibly other Nikon apps which access the camera, included the wireless transfer utility)
If you quit all of them, ptpcamerad should quit automatically. However, you might need to restart the Mac. I have experienced the same issue. Discussion here: