On AMD card miner won't restart or shut down if card crashes, it will continue to work and produce invalid shares:
[INFO ] GPU[00]: Found share with difficulty= 4.81 /810.42 pool: 4.00 net: 31.47k
[ 0d 9h45m00s|05:47:17] S: 80/0/0 0>RX 6800 XT 100% [52 C/44%]*36.91 I/s 74.21(73.53)Sol/s 110(112.1)W clk=1864MHz mclk=2120MHz Sol/W=0.656 (96.1%) (3.9%)
[INFO ] GPU[00]: Found share with difficulty= 5.43 /810.42 pool: 4.00 net: 35.33k
[INFO ] GPU[00]: Found share with difficulty= 5.05 /810.42 pool: 4.00 net: 35.33k
[INFO ] GPU[00]: Found share with difficulty= 4.65 /810.42 pool: 4.00 net: 35.17k
[ 0d 9h50m00s|05:52:17] S: 83/0/0 0>RX 6800 XT 100% [52 C/44%]*36.91 I/s 73.28(73.53)Sol/s 110(112.1)W clk=1859MHz mclk=2120MHz Sol/W=0.656 (96.2%) (3.8%)
[ 0d 9h55m00s|05:57:17] S: 83/0/0 0>RX 6800 XT 100% [52 C/44%] 36.91 I/s 73.26(73.52)Sol/s 110(112.1)W clk=1865MHz mclk=2120MHz Sol/W=0.656 (96.2%) (3.8%)
[INFO ] GPU[00]: Found share with difficulty= 10.32 /810.42 pool: 4.00 net: 36.17k
[ 0d10h 0m00s|06:02:17] S: 84/0/0 0>RX 6800 XT 100% [52 C/44%]*36.90 I/s 73.56(73.52)Sol/s 112(112.0)W clk=1841MHz mclk=2120MHz Sol/W=0.656 (96.3%) (3.7%)
[INFO ] GPU[00]: Found share with difficulty= 4.24 /810.42 pool: 4.00 net: 36.53k
[ 0d10h 5m00s|06:07:17] S: 85/0/0 0>RX 6800 XT 100% [52 C/44%]*36.91 I/s 72.81(73.54)Sol/s 110(112.0)W clk=1859MHz mclk=2120MHz Sol/W=0.656 (96.3%) (3.7%)
[ 0d10h10m00s|06:12:17] S: 85/0/0 0>RX 6800 XT 100% [52 C/44%] 36.90 I/s 73.58(73.54)Sol/s 110(112.0)W clk=1864MHz mclk=2120MHz Sol/W=0.657 (96.3%) (3.7%)
[ 0d10h15m00s|06:17:17] S: 85/0/0 0>RX 6800 XT 100% [51 C/44%] 36.90 I/s 73.82(73.55)Sol/s 112(112.0)W clk=1853MHz mclk=2120MHz Sol/W=0.657 (96.4%) (3.6%)
[ 0d10h20m00s|06:22:17] S: 85/0/0 0>RX 6800 XT 100% [51 C/44%] 36.90 I/s 73.97(73.57)Sol/s 110(112.0)W clk=1858MHz mclk=2120MHz Sol/W=0.657 (96.4%) (3.6%)
[ 0d10h25m00s|06:27:17] S: 85/0/0 0>RX 6800 XT 100% [52 C/44%] 36.94 I/s 73.74(73.51)Sol/s 109(111.9)W clk=1855MHz mclk=2122MHz Sol/W=0.657 (96.4%) (3.6%)
[ 0d10h30m00s|06:32:17] S: 85/0/0 0>RX 6800 XT 100% [52 C/44%] 36.90 I/s 72.50(73.47)Sol/s 113(111.9)W clk=1858MHz mclk=2120MHz Sol/W=0.657 (96.4%) (3.6%)
[INFO ] GPU[00]: Found share with difficulty= 5.04 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 12.02 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 16.76 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 7.03 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 17.45 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 52.51 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 11.70 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 16.93 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 6.34 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 4.92 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 7.87 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty=414.72 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 4.02 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 9.32 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 8.81 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 4.95 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 5.67 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 4.30 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 5.09 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 5.10 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 13.57 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 5.60 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 4.74 /810.42 pool: 4.00 net: 39.83k
[INFO ] GPU[00]: Found share with difficulty= 6.75 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 13.38 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 8.77 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 10.44 /810.42 pool: 4.00 net: 39.83k
[WARNING] Bad share: Invalid share
[INFO ] GPU[00]: Found share with difficulty= 26.44 /810.42 pool: 4.00 net: 39.83k
If it possible try with lowering mclock to 2100, I found out if the mclock is set a little to high you get this with RDNA2 cards.