Press ESC to close

how to end a path of pen tool in ai