When you view the planet on the galactic map, one of the buttons should give you a little bar at the bottom showing the ships in orbit. Click on the ship you want to eject to highlight it, then right click onto the hex you want it to eject into.
For fleets it is similar. When you select the fleet on the galactic map, it should have a little bar to the right of the fleet window, showing you the ships in that fleet. Left click to highlight the one you want to remove, then simply right click onto the hex you want to eject that ship into.
Happy Saturday !