In the end completely out of time, sadly (4)
I believe the answer is:
alas
'sadly' is the definition.
('alas' is used to express regret)
I don't understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for alas that I've seen before include "Unhappily" , "Regretfully!" , "'- Poor Yorick' (Hamlet)" , "By bad luck" , "Cry of woe" .)