Just replace 192.168.1.1 with the IP of your GW.
ip route add default via 192.168.1.1
It's just the opposite with "delete" instead of add
ip route del default via 192.168.1.1
This is the equivalent of the "route command's" route add default gw 192.168.1.1
default, gateway, linux, ip, routingadding, gw, via, delete, quot, equivalent,