From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide
On his last mission as a Warrior attached to Galactica, he is on patrol with Boomer when they are ambushed by Raiders. Starbuck's Viper is severely damaged, and he is forced to put it down on a small planet, stranding him and separating him from the Fleet.
Out of loneliness, Starbuck repairs a Centurion from one of the Raiders he had downed. He nicknames it Cy, and the two become friends. When Cy senses that Starbuck longs for human companionship, he leaves, returning with a pregnant woman named Angela.
Angela speaks in riddles, but convinces Starbuck to build a ship to transport her and "their baby" back to the Fleet. Starbuck uses parts from his Viper and the downed Raider to construct the ship, but the ship has enough room only for the mother and the child. A Cylon attack forces him to launch the ship. Cy is gunned down fighting off the Cylons, and Starbuck is left alive on the planet, apparently marooned. The child he launches grows up to be Doctor Zee (The Return of Starbuck).