killing off their own samurai by this do you mean where they were asked to commit sepuku, where the samurai cuts his stomach with a knife when the pain is too much his head is removed
samurais were asked to commit sepuku if they had done something wrong of if their master had died etc