- move to end point
- depress Shift (shows the straight line) (you can still move the end point)
- with Shift stilll depressed, click to draw
There is no "draw" mode, the pencil is always active until you switch to another tool.
PS: Gimp 2.10 is over 2 years old, why are you still on 2.8?