How to quit iPhoto in the middle of importing photos
On Spotlight search start typing "Activity Monitor", click on it. The on activity monitor find Photos, click on it once, then at the top left you will see an X icon, click on it and choose force quit..