Say my formation needs to get somewhere quick, so we're doing a forced march. All of a sudden my stomach starts making weird noises and I need to go, it's an emergency. Can I just break ranks?
How does this even work in modern armies? Long distance marching was still a thing in Vietnam, as was pooping.