Ending slurs in note input: how?

In note input in Write mode, I’ve found out how to start a slur by pressing “S”. How does one end a slur, without exiting note input?

I feel like this should be somehow obvious, but it’s not, and I can’t find an answer in searching the forums or the reference manual. For now I’ve just been pressing Esc and then Enter and repositioning the caret manually.

Shift-S

Wonderful. Thanks.