 If the player touches both pieces in attempting to castle illegally, the king must be moved if possible, but if there is no legal king move, then there is no requirement to move the rook.When a pawn is moved to its eighth , once the player takes their hand off the pawn, a different move of the pawn can no longer be substituted.However, the move is not complete until the promoted piece is released on that square .