Preferences units only effects what the application displays to you (metric or imperial). It does not effect what unit modal the firmware is in.
If you want the firmware to move in inches, you need to swap the unit modal from G21 (metric) to G20 imperial. G21 (metric) is the default modal value on connect/board reset.
$13 effects nothing in the application because the values are just converted before displaying behind the scenes.