кончиться (and any verb with the -ть, -ться suffix) is an infinitive (that is "to finish", "to sing", "to sleep", in other words, a blank form which only means an action and doesn't indicate the one...