Stopping at end of song

Could anyone here please advise how to set Cubasis so it will stop and the end of my loop when recording and what is the easiest way to trim or cut an extra measure from the end of a song.

Thank you

Your friend

did you meen at the end of you recording rane between the locators?
because a loop is set for not to stop automaticly.

ther is no function for stop after punch out.

a bar in the mixdown more or less ?