I realized you are using iPad. I don’t see where the status bar is shown, but the same modifier key works if you have a keyboard. As you move the line around the place, tap the Command key until the line stops snapping to the axes or to parallel and perpendicular.