The only Royal Navy warship deployed in the conflict with Iran has been forced to port for maintenance issues, the Mail can reveal.