The last bar line in the score

Cubase attempts to move the last bar line and space the bars on the last line in a sensible way. But you can change this manually by dragging the last bar line if you like. To change the type of the last bar line, double-click it and select the desired type.