I knew someone whose dog was litter box trained. He picked it up quite quickly, but I don’t know if it can be “unlearned”.

Hope things are ok with you!