Removing a rear wheel of a town bike
This picture shows a slightly better angle. You need to first loosen the lock nut slightly, then spin the adjuster barrel until it unscrews right off the threaded rod on the chain. When you re-assemble you reverse that, and have to re-adjust the tension so that it shifts properly.