Zaid Alsalami, Shaykh Dr Zaid Alsalami is an Iraqi born scholar, raised in Australia. He obtained a BA from Al-Mustafa University, Qom, and an MA from the Islamic College in London. He also obtained a PhD from... Answered 3 months ago

Bismihi ta'ala

Yes, the temporary marriage contract is automatically terminated once the time period ends. 

One cannot have two contracts at one time, so if the couple agreed to have permanent contract, and the temporary contract is over, they can do the permanent contract. If they are still in the temporary contract, the male says to the female: "I release you for the remaining period", and once he says that, they can do the permanent marriage, as long as all other requirements are met. 

And Allah knows best.