Longer Club Event on Non-Looping Course

Does anyone know what happens on the ride if I put a longer distance than that of a non-looping route?

Eg. I set a club ride up for Climber’s Gambit (that ends at the top of the KOM0 but we want to go longer than the 28km course so I set the ride for 40km.

Since it’s not a loop what happens when you get to the top? If all the riders continue will we stay on the same course together (whatever it would be)?

Riders will take random turns, so the group will split at the first intersection.