there is no way he scared himelf like that on purpose. Besides that is just one minor point of the whole anakin/palpatine thing that makes no sense.
Just ten seconds before he was wanting palpatine to stand trial then all the sudden he just falls to his knees and woships hi,. Mind you not just worships just anyone but worships the man who has been trying to murder his wife for almost ten years. the same wife he says he turned to the dark side to save. SO he trust the man whos been trying to murder her to save her life? Yeah that makes a lot of sense.
Trying to argue anything in the PT makes sense is a futile effort.