Greg Strong asks: '... did the king really move and then move back to its starting square and thus lose the right to castle?'
That has created confusion in the past. Go to Tim Krabbe's website and click on the [Greatest number of castlings] for an official game where White castled twice: 10.O-O and 33.O-O-O. Most computer databases will cut off this game record before the second (illegal) castling.
Greg Strong asks: '... did the king really move and then move back to its starting square and thus lose the right to castle?'
That has created confusion in the past. Go to Tim Krabbe's website and click on the [Greatest number of castlings] for an official game where White castled twice: 10.O-O and 33.O-O-O. Most computer databases will cut off this game record before the second (illegal) castling.