As per the circumstances, the meaning of وقف will be changed.
وقف = vaqafa = توقف = thavaqqafa = to stop or come to a standstill.
وقف = vaqafa = to stand up
وقف = vaqafa = to hesitate
وقف = vaqafa = to confront
(وقف ( في سبيله = to interrupt or to block the way of
( وقف ( في ، الى ، مع to defend or to support
(وقف ( ماله على = to endow or to donate for a charitable purpose
وقف = vaqf = endowment
توقف = Thavaqqafa = to stop, to hesitate, to depend on, to suspend
توقف = Thavaqquf = breakdown or failure
When we read or listen Arabic, we will understand the exact meaning of these two words
by immediate attention of words mentioned after and before of وقف / توقف in the sentence.
In Arabic, we say about this سياق وسباق
Hope it will help you.