Safely; without incident; successfully (used to say that something happened without trouble or accident).
家族は無事に海外から帰国した。
The family returned home from abroad safely.
工事は無事に終わり、道路が再び開通した。
The construction work finished without incident and the road reopened.
試験が無事に終わってほっとした。
I was relieved that the exam finished without problems.
Peacefully; quietly; in peace (used to describe a calm or peaceful state).
田舎で無事に暮らしたいと考えている。
I want to live peacefully in the countryside.
祖父は静かに、無事に眠りについたと家族は言った。
The family said the grandfather passed away peacefully.