if its not appearing on your desktop, or in the sidebar in the finder, open up disk utility (Applications>Utilities>DiskUtility.app and you should be able to eject it from there.
worst comes to worse, reboot the mac and hold down the mouse button to force eject it. (i think this still works).