From wikipedia, cause I was there reading random things again:
"Most samurai were bound by a code of
honor and were expected to set an example for those below them. A notable part of their code is
seppuku (切腹
seppuku) or
hara kiri, which allowed a disgraced samurai to regain his honor by passing into death, where samurai were still beholden to social rules. Whilst there are many romanticized characterizations of samurai behavior such as the writing of
Bushido (武士道
Bushidō) in 1905, studies of
Kobudo and traditional
Budō indicate that the samurai were as practical on the battlefield as were any other warrior.
Despite the rampant romanticism of the 20th century, samurai could be disloyal and treacherous (e.g.,
Akechi Mitsuhide), cowardly, brave, or overly loyal (e.g.,
Kusunoki Masashige). Samurai were usually loyal to their immediate superiors, who in turn allied themselves with higher lords. These loyalties to the higher lords often shifted; for example, the high lords allied under
Toyotomi Hideyoshi (豊臣秀吉) were served by loyal samurai, but the
feudal lords under them could shift their support to
Tokugawa, taking their samurai with them. There were, however, also notable instances where samurai would be disloyal to their lord or
daimyo, when loyalty to the emperor was seen to have supremacy."
So much for Bushido. But Vergil did hold to it, instead of walking off with Dante, he chose an honorable death.
Vergil was technically a rōnin, samurai without master, though without the shame that status brought, discrimination imposed by other samurai and daimyo, as he had no master to begin with.