Earlier quoted context omitted.
A single protein shake typically provides around 22g of protein, which is a small portion of the recommended daily intake for maintaining muscle, generally close to 1g of protein per pound of body weight. As an example, I'm currently on a weight loss diet and have a 180g of proteins target per day. Unless you were significantly under-consuming protein, it's unlikely that the shake alone made a major difference.
Such high recommendations are for people that want to maximize muscle retention / growth not people that just want to be healthy. You can get by on much less.
[0] https://www.barbellmedicine.com/blog/where-should-my-priorit...