“Establish a ‘cash bucket’ to help cover any emergency needs. You could refill the bucket occasionally at your discretion—when it’s getting low and when your investment account is relatively high.”
https://www.kiplinger.com/article/retirement/t047-c000-s004-retirees-need-emergency-funds-too.html