What is the ruling of Apostasy in Shia Islam? Is it death?

There is no such law in the absence of an infallible Imam.