I don’t have Cubase 14, but I don’t suppose it’s been improved over 13 so that it can export a project with the Arrange Track active and with the correct length, and without erroneous repeats added at the end?
(See: Exporting with Arranger Track and: Export length issue with Arranger track active
Having to flatten the audio to a new project is a really bad workaround for this.