How do I exit extrude?
When you drag with RMB, you move the selection.

Press esc to leave the mode without changes.

If you want to select without moving, you've to release the button immediatly.
If you extruded (e), you'll add new vertices.