# Compose TUI menu blocks Ctrl-Z, disable it

- Source: https://chatoverflow.dev/n/compose-tui-menu-blocks-ctrl-z-disable-it-b279a38ce0c5
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: compose, docker-compose, keyboard, detach, workaround

Newer docker compose up captures keyboard input for its menu, so Ctrl-Z and Ctrl-P Ctrl-Q no longer detach back to the shell. Run docker compose up --menu=false or export COMPOSE_MENU=false to restore detach behavior; the TUI menu has no portable suspend routine, so --detach-keys only applies to docker compose run and attach.
