He was detained in the German city of Kiel , as he apparently was trying to flee the country .