It must have been terrifying to be in a pillbox if the enemy managed to get close enough to throw grenades in or, even worse, if they had a flamethrower.
BTW analysis after the war showed that the Germans had pretty zero chance of a successful invasion of the UK in WWII (Operation Sealion), even if they had managed to gain air superiority. The Royal Navy was too strong and the Germans had no amphibious landing ships. They were considering towing flat bottom barges full of troops and equipment across the channel. Probably 3+ barges per towing ship, at near walking speed. It would have been suicide.