Daedalus managed to escape and flee Crete. King Minos pursued Daedalus and soon came to the court of Cocalus where Daedalus was hiding. Minos offered a reward to whoever could lead a thread through a spiral seashell - a task only Daedalus could solve.
When Minos saw that someone had solved the puzzle, he demanded that Cocalus surrender Daedalus. However Daedalus persuaded Minos to relax and take a bath before taking him away to be killed. Minos agreed, and was consequently murdered by Daedalus - who used his knowledge of the plumbing system to fill Minos' bath with boiling water.