How to End a Piece of Music