Question: do beckett and castle die?
Answer: Caleb stormed Castle's home, ending in his own demise in a hail of bullets; both Castle and Beckett also got shot, but the flash forward proved they lived happily ever after.