Christ has power to lay down His life and power to take it up again. no one can take it from Him, only He can lay it down.
Yes, Jesus knew that if he remained sinless and gave his life that God would raise him from the dead.
in what universe would He possibly be afraid of death? did He forget what He has power to do? did He go insane?
Jesus did not want to go through what he knew was coming. That's why he asked God is there was any other way. There wasn't. So Jesus set aside his own will and did what God needed him to do.
Luke 22:42 Saying, Father, if thou be willing, remove this cup from me: nevertheless not my will, but thine, be done.
It was not easy for him to do, but he did it.