Trump said the key shipping route will remain open, with the US military prepared to act when needed.