All the big gains I have made came after holding losses...you never get the bottom anyway lol..its usually a legging in/averaging down process. There is no difference in the immediate between closing the put option for a loss, and just taking the assignment. If you started the wheel on July 31 ($198), and then just held the position through the entire downturn Oct27 ($162), you are only down $-3600 (1 contract).
From a spreadsheet looking at that situation if you continued the (daily) wheel, starting July 31, you would be back into profits with $3764 on Oct27. So clearly the numbers show it is beneficial to take the shares and continue to sell premium.