Policy Based Routing

Hi All,
I need to create a PBR routing. I’ve already marked the packets with Mangle and then create a static route based on the marking. The problem is that when the gateway for the PBR is not reachable or the interface where the gateway connected is down then the traffic is routed via default gateway. I want to have it that way that if the gateway is not reachable the packets are dropped.

Could you please help me?

Thanks

It would be easier, if you share routing configuration.
However I assume you have /ip route for policy-based routing, that is disabled when gateway is not responding. Disable check-gateway or other option, that disables the route.