If you take a Friendshp boat over to DHS, they will be very clear about what time the last boat will leave DHS, just listen to the announcements. It's usually about an hour after park closing (including EMH).
The MK monorail stops one hour after closing but the boats still run. Epcot has busses running. Disney never leaves you without a transportation option.