You will most likely not get a V5 log book with a damaged category S vehicle, and so you will need to apply to DVLA for a new log book V5 using form V62.
DVLA will record the vehicle’s category in the new V5 log book.
There are currently delays with DVLA sending out V5 documents.