Persistent Static Route

Greetings fellow network engineers.

I’m trying to configure persistent static route in RouterOS v6.33.1 , so no matter what happens to the egress interface (down, unreachable, etc), it always stays active in RIB. Could you point me to the right direction?

You can’t nail a route to an interface and have it stay active when the interface is down.
Routers rely on the fact that routes become inactive when their interface goes down so that they can find other ways to reach the destination.

You could add a blackhole route for the same destination and give it a distance=2 (connected routes have distance=0, static routes normally have distance=1)

/ip route add dst=x.x.x.x/m type=blackhole distance=2

This will have exactly the same effect as “not going inactive”
The blackhole route will be inactive while the interface is up, and the blackhole route will become active when the normal interface route is inactive.