Glad you're happy with the brakevan
What about the rest of the train?
At the end of a branch it would seem that the only wagons that will need to get there would be the ones for loads to (or from) the end of the branch... (Some of the loads going out potentially needing empties to be brought in...)
This is the railway - so it can't be that simple can it?
Of course not!
There is always the possibility that there are Sidings in Section that can only be accessed one way round. In order to deal with these a train coming to the terminal might drop off empties by setting them back into the sidings as it comes down the branch and, at the same time, collect loads. Having done this the loads will be brought forward to the terminus, run round and then worked back up and out of the branch. this can happen for whole train loads (as with a quarry) or with odd wagons (possibly from a timber siding). the neat thing for a modeller with this traffic is that it can provide loads on flats or in opens that don't look silly if they come in and go out.
The significant thing then is where to put the train or wagons while in the terminus.
A whole train is usually more simple. It will need to be run-round before it can go back. There might, however, need to be a shuffle to allow either an auto-working/MU (which is more simple) or a loco hauled passenger train to both arrive and, probably, depart ahead of the freight train.
Part of a train is potentially more complicated. The wagons as well as the brakevan will tend to need to be disposed of out of the way while any other shunting - and any other traffic - is dealt with.
Another variation would be that if an adjacent station had or was expecting a flood of traffic to go out the empties needed for the movements might be worked passed it and to the terminus and held for a day or two until they were worked back when needed. Occasionally this sort of "putting aside ready" might occur with full loads - although these would tend to be van traffic unless the loads were of very low value or otherwise undesirable or difficult/impossible to pilfer. Again, for the modeller, this means that wagons can come and go without the load (or lack of load) changing. they can also be an interesting element of "stuff that gets in the way" of regular working. Empties or unbroken loads can also be shuffled around to get them out of the way (at least for the duration of shunting) in a way that does not apply to anything that is delivering or loading from the terminus but has not been fully secured.
I forgot to mention last time that, naturally, what is put where and when will always depend on the specific layout and traffic.
I also missed the point that at anything but a large location there would normally be only one loco shunting at any one time. Shunting might continue in a yard while a passenger loco ran round - but there would be care taken that anyone on the track (probably a guard or shunter) was well aware of any other movements - and, if/when these would be on an adjacent line movements might be completely stopped until the person was known to be clear. It takes less time and paperwork to wait than to not wait.
The reason that some shunting could go on - entirely within the non-Running Lines - of a yrad would be that these movements would be segregated from any passenger movement (including a run-round) by the Trap points at the exit/entrance from/to the yard to the Running Line. the Trap would also protect the shunting within the yard from the Activity out on the Running Line.