Musical terms used to indicate the ending of a piece or section include 'coda,' which signifies a distinct concluding passage, and 'fine,' which indicates the end or finish of the music.