Thanks for asking a question on www.thisisyourbible.com
The Bible is silent on the manner of Samuel's death. It simply records the fact of his death which was almost certainly due to old age.
1 Samuel 25:1 And Samuel died; and all the Israelites were gathered together, and lamented him, and buried him in his house at Ramah.
I hope you have found this helpful.