In an unfortunate way; "sadly he died before he could see his grandchild".
In an unpleasant way; "they were unhappily married".