At the last possible moment; at the last minute.
In a sad manner; sorrowfully.
Unfortunately, sad to say.