Under the influence of church hierarchs, the tsar insisted that Valdemar, who had no plans to stay in Muscovy or claim its throne, convert to Orthodoxy before marrying his daughter. The prince refused. The tsar, for his part, would not let him go. Valdemar was detained and allowed to leave the country only after the death of Tsar Mikhail and the coronation of his son, Aleksei Mikhailovich, in 1645.