And shooting him was a rational response to that?
No. If you say "get on the ground" to a rational person in that situation, their response will be to get on the ground. For a clearly incoherent or irrational person, one should not expect a coherent response. One would assume the cop would have been trained to consider alternative evaluations and responses.