So there is serious electrical malfunction and the pilot loses communication and also some of his displays multiple times.
In hindsight we know it wasn't that serious and the plane could have kept flying.
But how can the pilot figure that out, while flying the aircraft? One needs to evaluate decisions based on the information available at the time the decision was made.