If your child starts having accidents at night after being potty-trained for a long time you may want to take them to their doctor.
Most children begin having accidents after something has happened to them. https://antiagingtreat.com/puremiamuprp/puremiamuprpnodowntime/comment-page-15/