G18 selects the XZ plane.  The active plane determines how the tool path of an arc is interpreted.