I suppose one can figure out exactly how you're supposed to handle what you decided you were going to handle afterward.
Disclaimer : I am not a Samurai.
Edit: In other words, many people are dissatisfied with the contemporary world set up by merchants and bureaucrats. I don’t see it as misguided or quaint for them to look to the samurai ethic as a more appealing alternative. Its historical accuracy isn’t really relevant, as all history is story creation.
Eastern cultures didn't really have religions universally promising to provide all the answers/solutions like western culture had, so they developed very interesting alternative ways of addressing these struggles in life.
Almost as if the two are unrelated concepts.
Of course any endeavour can meet an early end due to carelessness or because of not stopping and considering whether what you're doing is actually a good idea. But carelessness would probably not have been held in high regard by the samurai, and I generally fail to see a simple connection between to the samurai class becoming outdated and a preference for "quick" thinking.
Bushido was real, Hagakure was written by a scribe from discussions with a holder of Bushido because before that Bushido was mostly transmitted through oral tradition. That daimyo was one to challenge useless deaths such as junji, so it’s not like he was entirely a fan of the whole thing but he probably lived by Bushido very much to the core.
Put into context that looks suspiciously like an interview for historical records and persistence in writing of an oral tradition. I would not be surprised if it was published only after the daimyo’s death because he made a vow to keep this knowledge secret, which was still common up to last century (Katori Shinto Ryu was probably one of the first schools to officially break with that and share previously secret knowledge about fighting technique and philosophy)
Now, there is romanticisation of Bushido and Samurai, but mostly from 1900s imperialism and WW2 propaganda which taints our glasses very much.