A teenager has been praised for his “incredible” act after his uncle was fatally attacked by a 4.5m shark while spearfishing.