eject a camera or device
After you finish importing photos from your camera or other digital device, before you disconnect the cable, you should eject the camera or device.
To eject the device, Control-click the device’s name in the Finder sidebar and click Unmount.
Now you can safely disconnect the cable from the computer. Don’t forget to turn off your camera or device, if you’re not using it.