Actuating or influencing the brakes by backward pressure of buffers or coupling gear