If the visa office had not started processing then application fee is refundable. Processing is after submitting all the documents / 2nd AOR. Death of applicant, it can be called compassonate ground, may be on informing the visa office and requesting for refund of application fee, it may be refunded.